[Pkg-samba-maint] Bug#783322: winbindd crashes if LDAP password fails to be retrieved from secrets.tdb

Dmitry Katsubo dma_k at mail.ru
Sat Apr 25 22:13:16 UTC 2015


Package: winbind
Version: 2:4.1.17+dfsg-2

Hello,

winbind reports "Failed to retrieve LDAP password from secrets.tdb" and
crashes creating a core dump.

Expected:

winbind correctly handles this situation, e.g. exits with error code.


-- 
With best regards,
Dmitry
-------------- next part --------------
  STATUS=daemon 'winbindd' finished starting up and ready to serve connectionsGot sig[15] terminate (is_parent=0)
  STATUS=daemon 'winbindd' finished starting up and ready to serve connectionsfetch_ldap_pw: neither ldap secret retrieved!
[2014/06/22 23:25:10.038062,  0] ../source3/passdb/pdb_ldap.c:6427(pdb_init_ldapsam_common)
  pdb_init_ldapsam_common: Failed to retrieve LDAP password from secrets.tdb
[2014/06/22 23:25:10.038313,  0] ../source3/passdb/pdb_interface.c:178(make_pdb_method_name)
  pdb backend ldapsam:ldap://localhost did not correctly init (error was NT_STATUS_NO_MEMORY)
[2014/06/22 23:25:10.038500,  0] ../source3/lib/util.c:785(smb_panic_s3)
  PANIC (pid 3254): pdb_get_methods: failed to get pdb methods for backend ldapsam:ldap://localhost
  
[2014/06/22 23:25:10.054345,  0] ../source3/lib/util.c:896(log_stack_trace)
  BACKTRACE: 31 stack frames:
   #0 /usr/lib/i386-linux-gnu/libsmbconf.so.0(log_stack_trace+0x29) [0xb6cd4429]
   #1 /usr/lib/i386-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x28) [0xb6cd4528]
   #2 /usr/lib/i386-linux-gnu/libsamba-util.so.0(smb_panic+0x3a) [0xb76116ba]
   #3 /usr/lib/i386-linux-gnu/libpdb.so.0(+0x2221f) [0xb732f21f]
   #4 /usr/lib/i386-linux-gnu/libpdb.so.0(pdb_capabilities+0x8) [0xb73311a8]
   #5 /usr/sbin/winbindd(_lsa_EnumTrustedDomainsEx+0x1c) [0xb772c61c]
   #6 /usr/sbin/winbindd(+0xb0b6f) [0xb7732b6f]
   #7 /usr/sbin/winbindd(+0x7d7dd) [0xb76ff7dd]
   #8 /usr/lib/i386-linux-gnu/libdcerpc-binding.so.0(dcerpc_binding_handle_raw_call_send+0xa8) [0xb7390c28]
   #9 /usr/lib/i386-linux-gnu/libdcerpc-binding.so.0(dcerpc_binding_handle_call_send+0x1d7) [0xb7391457]
   #10 /usr/lib/i386-linux-gnu/libdcerpc-binding.so.0(dcerpc_binding_handle_call+0x6f) [0xb73916df]
   #11 /usr/lib/i386-linux-gnu/samba/libdcerpc-samba.so.0(dcerpc_lsa_EnumTrustedDomainsEx_r+0x4d) [0xb741399d]
   #12 /usr/lib/i386-linux-gnu/samba/libdcerpc-samba.so.0(dcerpc_lsa_EnumTrustedDomainsEx+0x5c) [0xb7413c2c]
   #13 /usr/sbin/winbindd(rpc_trusted_domains+0x93) [0xb76cb393]
   #14 /usr/sbin/winbindd(+0x4f759) [0xb76d1759]
   #15 /usr/sbin/winbindd(+0x34bf2) [0xb76b6bf2]
   #16 /usr/sbin/winbindd(winbindd_dual_list_trusted_domains+0x4a) [0xb76bea7a]
   #17 /usr/sbin/winbindd(+0x5220d) [0xb76d420d]
   #18 /usr/lib/i386-linux-gnu/libtevent.so.0(+0x8f0f) [0xb6b34f0f]
   #19 /usr/lib/i386-linux-gnu/libtevent.so.0(+0x713e) [0xb6b3313e]
   #20 /usr/lib/i386-linux-gnu/libtevent.so.0(_tevent_loop_once+0xa0) [0xb6b2f350]
   #21 /usr/sbin/winbindd(+0x54ca3) [0xb76d6ca3]
   #22 /usr/sbin/winbindd(+0x554ed) [0xb76d74ed]
   #23 /usr/lib/i386-linux-gnu/libtevent.so.0(+0x3fb0) [0xb6b2ffb0]
   #24 /usr/lib/i386-linux-gnu/libtevent.so.0(tevent_common_loop_immediate+0xe8) [0xb6b2fc38]
   #25 /usr/lib/i386-linux-gnu/libtevent.so.0(+0x8caf) [0xb6b34caf]
   #26 /usr/lib/i386-linux-gnu/libtevent.so.0(+0x713e) [0xb6b3313e]
   #27 /usr/lib/i386-linux-gnu/libtevent.so.0(_tevent_loop_once+0xa0) [0xb6b2f350]
   #28 /usr/sbin/winbindd(main+0xd51) [0xb769c861]
   #29 /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xf3) [0xb6999a63]
   #30 /usr/sbin/winbindd(+0x1b01e) [0xb769d01e]
[2014/06/22 23:25:10.057303,  0] ../source3/lib/util.c:797(smb_panic_s3)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 3254]
[2014/06/22 23:25:10.400890,  0] ../source3/lib/util.c:805(smb_panic_s3)
  smb_panic(): action returned status 0
[2014/06/22 23:25:10.401174,  0] ../source3/lib/dumpcore.c:317(dump_core)
  dumping core in /var/log/samba/cores/winbindd



More information about the Pkg-samba-maint mailing list