SAMBA_3_0: winbindd is a fork-bomb

Gerald (Jerry) Carter jerry at samba.org
Fri Jan 19 18:30:20 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremy,

The current winbindd is a fork bomb.  Did you test this without
enabling the offline mode ?  I keep seeing the fork_child_dc_connect()
called over and over.  The backtrace is from the first domain child
(i.e. the one for our domain).




cheers, jerry


(gdb) bt
#0  fork_child_dc_connect (domain=0x856dea0)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd_cm.c:177
#1  0x080b9cfd in check_domain_online_handler (ctx=0x856caa8,
te=0x856cb70, now=0xbfbd70d8, private_data=0x856dea0)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd_cm.c:273
#2  0x0816b5e6 in run_events (event_ctx=0x856caa8, selrtn=0,
read_fds=0x0, write_fds=0x0)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/lib/events.c:230
#3  0x080cceb4 in fork_domain_child (child=0x856e378)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd_dual.c:894
#4  0x080cb02b in schedule_async_request (child=0x856e378)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd_dual.c:230
#5  0x080caa99 in async_request (mem_ctx=0x856d8d0, child=0x856e378,
request=0x8571718, response=0x8571ea0,
    continuation=0x80a24b1 <init_child_recv>, private_data=0x856d958)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd_dual.c:134
#6  0x080a227d in init_child_connection (domain=0x856dea0,
continuation=0x80cb309 <domain_init_recv>,
    private_data=0x856d880)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd_util.c:390
#7  0x080cb1e8 in async_domain_request (mem_ctx=0x856d528,
domain=0x856dea0, request=0x85702b0, response=0x8570a38,
    continuation=0x80a1b30 <trustdom_recv>, private_data_data=0x856d840)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd_dual.c:289
#8  0x080a1b2a in add_trusted_domains (domain=0x856dea0)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd_util.c:225
#9  0x080a1fa3 in rescan_trusted_domains ()
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd_util.c:328
#10 0x08098498 in process_loop ()
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd.c:733
#11 0x08099573 in main (argc=-1078096152, argv=0xbfbd8f14, envp=0xbfbd8f1c)
    at
/home/drizzt/jerry/src/bzr/jerry/samba3-nss_info.bzr/source/nsswitch/winbindd.c:1100
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFsQ48IR7qMdg1EfYRArcaAKDpFAn4GcKJjCkW16isFHJ9KQq3fACgrhxU
VPiDuiJMvpRQVfuJPTCvx08=
=ijo+
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list