[Date Prev][Date Next] [Chronological] [Thread] [Top]

ber_get_next: Assertion failed



Hi,

I get this logs from /var/log/syslog of my samba pdc, i use debian sarge
and since i upgrade openldap (2.1 to 2.2) i get a lot of problem related
to libnss-ldap.

Jul 27 09:16:12 mtd1 smbd[11221]: nss_ldap: reconnecting to LDAP server...
Jul 27 09:16:12 mtd1 smbd[11221]: nss_ldap: reconnected to LDAP server after 1 attempt(s)
Jul 27 09:16:15 mtd1 smbd[11223]: nss_ldap: reconnecting to LDAP server...
Jul 27 09:16:15 mtd1 smbd[11223]: nss_ldap: reconnected to LDAP server after 1 attempt(s)
...
Aug 10 08:51:51 mtd1 smbd[12261]: nss_ldap: could not search LDAP server - Local error
Aug 10 08:51:51 mtd1 smbd[12225]: nss_ldap: could not search LDAP server - Local error
Aug 10 08:51:51 mtd1 smbd[12221]: nss_ldap: could not search LDAP server - Local error
Aug 10 08:51:51 mtd1 smbd[12180]: nss_ldap: could not get LDAP result - Local error
Aug 10 08:51:51 mtd1 smbd[12206]: nss_ldap: could not search LDAP server - Local error
Aug 10 08:51:51 mtd1 smbd[12202]: nss_ldap: could not search LDAP server - Local error
Aug 10 08:51:51 mtd1 smbd[12201]: nss_ldap: could not search LDAP server - Local error
Aug 10 08:51:51 mtd1 smbd[12200]: nss_ldap: could not search LDAP server - Local error
Aug 10 08:51:51 mtd1 smbd[12197]: nss_ldap: could not search LDAP server - Decoding error
Aug 10 08:51:51 mtd1 smbd[12196]: nss_ldap: could not search LDAP server - Local error
Aug 10 08:51:51 mtd1 smbd[12193]: nss_ldap: could not search LDAP server - Local error
Aug 10 08:51:51 mtd1 smbd[12182]: nss_ldap: could not get LDAP result - Can't contact LDAP server
Aug 10 08:51:51 mtd1 smbd[12182]: nss_ldap: could not get LDAP result - Can't contact LDAP server
...
smbd: /home/devel/openldap/build-area/openldap2-2.1.30/libraries/liblber/io.c:508: ber_get_next: Assertion `ber->ber_buf == ((void *)0)' failed.
[2005/08/10 08:51:51, 0] lib/fault.c:fault_report(36)
===============================================================
[2005/08/10 08:51:51, 0] lib/fault.c:fault_report(37)
INTERNAL ERROR: Signal 6 in pid 12180 (3.0.14a-Debian)
Please read the appendix Bugs of the Samba HOWTO collection
[2005/08/10 08:51:51, 0] lib/fault.c:fault_report(39)
===============================================================
[2005/08/10 08:51:51, 0] lib/util.c:smb_panic2(1495)
PANIC: internal error
[2005/08/10 08:51:51, 0] lib/util.c:smb_panic2(1503)
BACKTRACE: 52 stack frames:
#0 /usr/sbin/smbd(smb_panic2+0x111) [0x81eb301]
#1 /usr/sbin/smbd(smb_panic+0x1a) [0x81eb1ea]
#2 /usr/sbin/smbd [0x81d7368]
#3 /lib/libpthread.so.0 [0x40358825]
#4 /lib/libc.so.6 [0x401c76f8]
#5 /lib/libpthread.so.0(raise+0x2b) [0x40355a7b]
#6 /lib/libc.so.6(gsignal+0x44) [0x401c7554]
#7 /lib/libc.so.6(abort+0x178) [0x401c8a88]
#8 /lib/libc.so.6(__assert_fail+0x10f) [0x401c0bbf]
#9 /usr/lib/liblber.so.2(ber_get_next+0xfd) [0x4006237d]
#10 /usr/lib/libldap_r.so.2 [0x40033096]
#11 /usr/lib/libldap_r.so.2 [0x40032da5]
#12 /lib/libnss_ldap.so.2 [0x4068ef8a]
#13 /lib/libnss_ldap.so.2 [0x4068eb7a]
#14 /lib/libnss_ldap.so.2 [0x40692507]
#15 /lib/libnss_ldap.so.2 [0x4069236a]
#16 /lib/libnss_ldap.so.2 [0x4068f552]
#17 /lib/libnss_ldap.so.2 [0x40690093]
#18 /lib/libnss_ldap.so.2(_nss_ldap_initgroups_dyn+0x14c) [0x406926cc]
#19 /lib/libc.so.6 [0x402433f4]
#20 /lib/libc.so.6(initgroups+0x6b) [0x4024361b]
#21 /usr/sbin/smbd [0x81cd7f4]
#22 /usr/sbin/smbd [0x81cd9c4]
#23 /usr/sbin/smbd(getgroups_user+0x46) [0x81cdb16]
#24 /usr/sbin/smbd(pdb_default_enum_group_memberships+0x29) [0x81cdc59]
#25 /usr/sbin/smbd [0x81c1765]
#26 /usr/sbin/smbd [0x81b5864]
#27 /usr/sbin/smbd(pdb_enum_group_memberships+0x4e) [0x81b70fe]
#28 /usr/sbin/smbd [0x822b112]
#29 /usr/sbin/smbd [0x822b26e]
#30 /usr/sbin/smbd(make_server_info_sam+0x140) [0x822b560]
#31 /usr/sbin/smbd [0x82262b4]
#32 /usr/sbin/smbd [0x82265b1]
#33 /usr/sbin/smbd [0x82239ff]
#34 /usr/sbin/smbd(_net_sam_logon+0xb2c) [0x812496c]
#35 /usr/sbin/smbd [0x81224a7]
#36 /usr/sbin/smbd(api_rpcTNP+0x16c) [0x8161dfc]
#37 /usr/sbin/smbd(api_pipe_request+0xba) [0x8161baa]
#38 /usr/sbin/smbd [0x815c3f8]
#39 /usr/sbin/smbd [0x815c76f]
#40 /usr/sbin/smbd [0x815c964]
#41 /usr/sbin/smbd [0x815cbc3]
#42 /usr/sbin/smbd(write_to_pipe+0xfb) [0x815cb0b]
#43 /usr/sbin/smbd [0x808e727]
#44 /usr/sbin/smbd(reply_trans+0x57c) [0x808f13c]
#45 /usr/sbin/smbd [0x80d7a76]
#46 /usr/sbin/smbd [0x80d7d00]
#47 /usr/sbin/smbd(process_smb+0x8c) [0x80d7f0c]
#48 /usr/sbin/smbd(smbd_process+0x168) [0x80d8c58]
#49 /usr/sbin/smbd(main+0x505) [0x82655f5]
#50 /lib/libc.so.6(__libc_start_main+0xc6) [0x401b3e36]
#51 /usr/sbin/smbd [0x8079b01]


Thank you.
--
Guy Roussin