[Samba] Trouble with idmap_ldap in 3.3.6
Jeremy Allison
jra at samba.org
Mon Jul 13 11:18:29 MDT 2009
On Sat, Jul 11, 2009 at 12:03:43AM -0400, Daniel Barowy wrote:
> Hello everyone,
>
> We've been running Samba for years, and with the exception of IDMAP,
> we've been very happy. Well, now we have a real need to keep this
> information in a shared DB, so I'm trying to set up the idmap_ldap
> plugin.
>
> I *think* I have lookups working correctly-- at least, I can see that
> Samba is contacting the LDAP directory. But since there's nothing
> actually *in* my directory yet, I can't be sure.
>
> But the real issue is that I'm having trouble getting LDAP to work as
> an allocating backend. I'm getting some ugly stuff like this:
>
> [2009/07/10 23:37:51, 0] winbindd/idmap.c:smb_register_idmap_alloc(201)
> idmap_alloc module tdb already registered!
> [2009/07/10 23:37:51, 0] winbindd/idmap.c:smb_register_idmap(149)
> Idmap module passdb already registered!
> [2009/07/10 23:37:51, 0] winbindd/idmap.c:smb_register_idmap(149)
> Idmap module nss already registered!
> [2009/07/10 23:37:51, 0] winbindd/idmap.c:idmap_alloc_init(589)
> ERROR: Initialization failed for alloc backend, deferred!
> [2009/07/10 23:38:12, 0] lib/fault.c:fault_report(40)
> ===============================================================
> [2009/07/10 23:38:12, 0] lib/fault.c:fault_report(41)
> INTERNAL ERROR: Signal 11 in pid 14920 (3.3.6)
> Please read the Trouble-Shooting section of the Samba3-HOWTO
> [2009/07/10 23:38:12, 0] lib/fault.c:fault_report(43)
>
> From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
> [2009/07/10 23:38:12, 0] lib/fault.c:fault_report(44)
> ===============================================================
> [2009/07/10 23:38:12, 0] lib/util.c:smb_panic(1673)
> PANIC (pid 14920): internal error
> [2009/07/10 23:38:12, 0] lib/util.c:log_stack_trace(1777)
> BACKTRACE: 21 stack frames:
> #0 winbindd(log_stack_trace+0x2d) [0x3581f9]
> #1 winbindd(smb_panic+0x8e) [0x35804b]
> #2 winbindd [0x341960]
> #3 winbindd [0x341971]
> #4 /lib/tls/libc.so.6 [0x74e918]
> #5 winbindd [0x62c779]
> #6 winbindd(run_events+0xdf) [0x36b645]
> #7 winbindd [0x2b8c6d]
> #8 winbindd [0x2b5eb7]
> #9 winbindd(async_request+0x20f) [0x2b5881]
> #10 winbindd(do_async+0x13c) [0x2b9301]
> #11 winbindd(winbindd_gid2sid_async+0xd8) [0x2c190e]
> #12 winbindd(winbindd_gid_to_sid+0x2fd) [0x2a2bc7]
> #13 winbindd [0x2819b8]
> #14 winbindd [0x28251a]
> #15 winbindd [0x282368]
> #16 winbindd [0x281ce7]
> #17 winbindd [0x282c13]
> #18 winbindd(main+0xb68) [0x283a96]
> #19 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x73bdf3]
> #20 winbindd [0x280f31]
> [2009/07/10 23:38:12, 0] lib/fault.c:dump_core(231)
> dumping core in /var/log/samba/cores/winbindd
>
> It's entirely possible that I'm just not configuring this properly.
No, it should never crash. Can you load the debug symbols
and get a stack backtrace from gdb so we can fix this please ?
Thanks,
Jeremy.
More information about the samba
mailing list