[Samba] winbind + samba limits with large AD?

Michael Adam ma at sernet.de
Thu Jul 12 09:57:02 GMT 2007


Hello Ralf,

could you please for debugging this raise your log level to 10 
(and possibly set max log size to 0 to prevent rotation of
log files).

For the stack trace to be more meaningful, it would also be good 
to have samba compiled with CFLAGS="-g" (debugging symbols) and
without optimizations (no -O, -O2, ... flag). Furthermore the
configure option --enable-pie=no is useful.

As for your setup: Could you provide your smb.conf file (secret
stuff grayed out of course)?

You should double check that no components are mixed between 
your system package samba installation and your hand-compiled
version (sorry if I am stating obious things):

* save your smb.conf
* clean all of /opt/samba32
* recompile as stated above
* reinstall
* copy your smb.conf to /opt/samba32/lib
  (don't forget to raise log level to 10 and max log size = 0)
* make sure to copy (or link) libnss_winbind.so
  to /lib/libnss_winbind.so (and /lib/libnss_winbind.so.2)
* rejoin the domain
* start nmbd/smbd/winbindd daemons
* make your tests as before, using tools (wbinfo...) from 
  /opt/samba32/bin when not using system commands (id, getent, ...)

Then provide us with the logs - maybe bugzilla.samba.org is more
approriate a place for this.

Also some key data about your AD environment would be interesting
to know: number of DCs, OS version of DCs, mode of AD (native
2003, ...) number of users, number of groups, size of largest groups 
involved in your tests, number of groups user is member of, ...

Best, Michael

On Thu, Jul 12, 2007 at 10:46:26AM +0200, Ralf Gross wrote:
> Ralf Gross schrieb:
> 
> Now after executing 'id -a' I got a panic:
> 
> [2007/07/12 10:28:28, 3] nsswitch/winbindd_group.c:winbindd_getgrgid(886)
>   [ 6998]: getgrgid 2054
> [2007/07/12 10:28:38, 0] libsmb/clientgen.c:cli_receive_smb_internal(136)
>   Receiving SMB: Server stopped responding
> [2007/07/12 10:28:38, 0] rpc_client/cli_pipe.c:rpc_api_pipe(789)
>   rpc_api_pipe: Remote machine smtcd001.emea.corpdir.net pipe \lsarpc fnum
> 0x8005returned critical error. Error was Call timed out: server did not respond
> after 10000 milliseconds
> [2007/07/12 10:28:38, 0] lib/fault.c:fault_report(40)
>   ===============================================================
> [2007/07/12 10:28:38, 0] lib/fault.c:fault_report(41)
>   INTERNAL ERROR: Signal 11 in pid 6905 (3.2.1pre1-SVN-build-23823)
>   Please read the Trouble-Shooting section of the Samba3-HOWTO
> [2007/07/12 10:28:38, 0] lib/fault.c:fault_report(43)
> 
>   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
> [2007/07/12 10:28:38, 0] lib/fault.c:fault_report(44)
>   ===============================================================
> [2007/07/12 10:28:38, 0] lib/util.c:smb_panic(1655)
>   PANIC (pid 6905): internal error
> [2007/07/12 10:28:38, 0] lib/util.c:log_stack_trace(1759)
>   BACKTRACE: 18 stack frames:
>    #0 /opt/samba32/sbin/winbindd(log_stack_trace+0x2d) [0x8142eab]
>    #1 /opt/samba32/sbin/winbindd(smb_panic+0x78) [0x8142fd9]
>    #2 /opt/samba32/sbin/winbindd [0x812e72e]
>    #3 [0xffffe420]
>    #4 /lib/tls/i686/cmov/libc.so.6(vsnprintf+0xb4) [0xb7d8eb54]
>    #5 /opt/samba32/sbin/winbindd(talloc_vasprintf+0x3b) [0x81254ec]
>    #6 /opt/samba32/sbin/winbindd(talloc_asprintf+0x2e) [0x812563f]
>    #7 /opt/samba32/sbin/winbindd [0x80d4662]
>    #8 /opt/samba32/sbin/winbindd [0x80ba8a9]
>    #9 /opt/samba32/sbin/winbindd [0x80afeea]
>    #10 /opt/samba32/sbin/winbindd [0x80b1c89]
>    #11 /opt/samba32/sbin/winbindd [0x80db102]
>    #12 /opt/samba32/sbin/winbindd [0x80dbe15]
>    #13 /opt/samba32/sbin/winbindd [0x80da383]
>    #14 /opt/samba32/sbin/winbindd [0x80a9220]
>    #15 /opt/samba32/sbin/winbindd(main+0xdef) [0x80aa0db]
>    #16 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7d45ebc]
>    #17 /opt/samba32/sbin/winbindd [0x80a8031]
> [2007/07/12 10:28:38, 0] lib/fault.c:dump_core(180)
>   dumping core in /opt/samba32/var/cores/winbindd
> 
> Ralf
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

-- 

i.A. Michael Adam

-- 
Michael Adam <ma at sernet.de>
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.SerNet.DE, mailto: Info @ SerNet.DE


More information about the samba mailing list