Can you correlate this smbd error to anything in your openldap server logs?
Is smbd using the same version of the mentioned libraries as your server?
There were some posts recently about linux 2.6, so you might want to
check the archives on tips in that direction.
1/16/06, Andreas Grabner <a.grabner (AT) bfi-burgenland (DOT) atwrote:
Hi,
i had (have) some troubles with my openldap-sever using version 2.3.[11|
13|17 now] on linux 2.6-smp. Slowly users get angry (my fault i should
have tested more). I read about "stable" in this Mailinglist and
thinking of swtiching back to openldap-2.2.30.
Which is the most stable version known?
BTW my problem:
Samba panics. The guys from the Samba-Team point to "libldap and
libnss_ldap". Here the samba logs:
--
[2006/01/14 11:24:15, 2] (640)
init_sam_from_ldap: Entry found for user: karls
smbd: io.c:491: ber_get_next: Assertion `ber->ber_buf == ((void *)0)'
failed.
[2006/01/14 11:24:15, 0] lib/fault.c:fault_report(36)
[2006/01/14 11:24:15, 0] lib/fault.c:fault_report(37)
INTERNAL ERRR: Signal 6 in pid 12304 (3.0.21a)
Please read the Trouble-Shooting section of the Samba3-HWT
[2006/01/14 11:24:15, 0] lib/fault.c:fault_report(39)
From:
[2006/01/14 11:24:15, 0] lib/fault.c:fault_report(40)
[2006/01/14 11:24:15, 0] lib/util.c:smb_panic2(1554)
PANIC: internal error
[2006/01/14 11:24:15, 0] lib/util.c:smb_panic2(1562)
BACKTRACE: 47 stack frames:
#0 /usr/local/samba/sbin/smbd(smb_panic2+0x1b6) [0x8201d3b]
#1 /usr/local/samba/sbin/smbd(smb_panic+0x19) [0x8201b81]
#2 /usr/local/samba/sbin/smbd [0x81ef6af]
#3 /usr/local/samba/sbin/smbd [0x81ef724]
#4 [0xffffe420]
#5 /lib/tls/libc.so.6(abort+0x1d2) [0xb7cb7fa2]
#6 /lib/tls/libc.so.6(__assert_fail+0x10f) [0xb7cb02df]
#7 /usr/local/lib/liblber-2.3.so.0(ber_get_next+0xfd) [0xb7ee726d]
#8 /usr/local/lib/libldap-2.3.so.0 [0xb7ef79e4]
#9 /usr/local/lib/libldap-2.3.so.0 [0xb7ef76d5]
#10 /usr/local/lib/libldap-2.3.so.0(ldap_result+0x90) [0xb7ef71c0]
#11 /lib/libnss_ldap.so.2 [0xb78fdf8a]
#12 /lib/libnss_ldap.so.2 [0xb78fdb7a]
#13 /lib/libnss_ldap.so.2(_nss_ldap_initgroups_dyn+0x170)
[0xb79016f0]
#14 /lib/tls/libc.so.6 [0xb7d34b54]
#15 /lib/tls/libc.so.6(initgroups+0x6b) [0xb7d34a4b]
#16 /usr/local/samba/sbin/smbd [0x81e1bb3]
#17 /usr/local/samba/sbin/smbd [0x81e1e7c]
#18 /usr/local/samba/sbin/smbd(getgroups_user+0x4d) [0x81e1edd]
#19 /usr/local/samba/sbin/smbd(
+0x29) [0x81e202f]
#20 /usr/local/samba/sbin/smbd [0x81d3d7f]
#21 /usr/local/samba/sbin/smbd [0x81c6ebe]
#22 /usr/local/samba/sbin/smbd()
[0x81c8a0a]
#23 /usr/local/samba/sbin/smbd [0x823cb40]
#24 /usr/local/samba/sbin/smbd [0x823ced0]
#25 /usr/local/samba/sbin/smbd(make_server_info_sam+0x12b)
[0x823d19d]
#26 /usr/local/samba/sbin/smbd [0x82387c7]
#27 /usr/local/samba/sbin/smbd [0x8238a5b]
#28 /usr/local/samba/sbin/smbd [0x8236324]
#29 /usr/local/samba/sbin/smbd(_net_sam_logon+0x6eb) [0x8133db8]
#30 /usr/local/samba/sbin/smbd [0x8131b2b]
#31 /usr/local/samba/sbin/smbd(api_rpcTNP+0x232) [0x81719fb]
#32 /usr/local/samba/sbin/smbd(api_pipe_request+0xff) [0x8171742]
#33 /usr/local/samba/sbin/smbd [0x816b0f2]
#34 /usr/local/samba/sbin/smbd [0x816b2c0]
#35 /usr/local/samba/sbin/smbd [0x816b8a5]
#36 /usr/local/samba/sbin/smbd [0x816baa6]
#37 /usr/local/samba/sbin/smbd(write_to_pipe+0x105) [0x816ba1a]
#38 /usr/local/samba/sbin/smbd(reply_pipe_write_and_X+0x13b)
[0x80a5e0a]
#39 /usr/local/samba/sbin/smbd(reply_write_and_X+0xa8) [0x80ad585]
#40 /usr/local/samba/sbin/smbd [0x80de9d6]
#41 /usr/local/samba/sbin/smbd [0x80dea86]
#42 /usr/local/samba/sbin/smbd(process_smb+0x1eb) [0x80dedd2]
#43 /usr/local/samba/sbin/smbd(smbd_process+0x153) [0x80dfb2d]
#44 /usr/local/samba/sbin/smbd(main+0x854) [0x828b3cb]
#45 /lib/tls/libc.so.6(__libc_start_main+0xf4) [0xb7ca3974]
#46 /usr/local/samba/sbin/smbd [0x807e871]
--
Thanks a lot
Andreas Grabner