[Samba] [PATCH] Workaround very slow nss_winbind, fix crash on the AD DC (particularly for backups)

Philippe.Simonet at swisscom.com Philippe.Simonet at swisscom.com
Mon Jun 24 06:17:01 MDT 2013


Hi Andrew

 (and thanks Michael for your git support)

when I do a <git revert f77d5d6479c879c8770fbc9a6ca5656ef3e41019>
I don’t have the crash anymore, wbinfo give the right <WBC_ERR_DOMAIN_NOT_FOUND> status.

but just some more warnings after starting samba : 

# samba -i -M single                                      
samba version 4.0.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2012
samba: using 'single' process model
Attempting to autogenerate TLS self-signed keys for https for hostname 'GWNOIS03.test.ch'
TLS self-signed keys generated OK
/usr/sbin/samba_dnsupdate: 24-Jun-2013 12:10:27.027 dns_rdata_fromtext: buffer-0x7fd284f78620:1: near 'fe80::5246:5dff:fea3:7167%eth0': bad IPv6 address
/usr/sbin/samba_dnsupdate: invalid rdata format: bad IPv6 address
/usr/sbin/samba_dnsupdate: syntax error
/usr/sbin/samba_dnsupdate: 24-Jun-2013 12:10:27.042 dns_rdata_fromtext: buffer-0x7fcd265c7620:1: near 'fe80::5246:5dff:fea3:7167%eth0': bad IPv6 address
/usr/sbin/samba_dnsupdate: invalid rdata format: bad IPv6 address
/usr/sbin/samba_dnsupdate: syntax error
/usr/sbin/samba_dnsupdate: 24-Jun-2013 12:10:27.056 dns_rdata_fromtext: buffer-0x7fe2f8c00620:1: near 'fe80::5246:5dff:fea3:7167%eth0': bad IPv6 address
/usr/sbin/samba_dnsupdate: invalid rdata format: bad IPv6 address
/usr/sbin/samba_dnsupdate: syntax error
../source4/dsdb/dns/dns_update.c:294: Failed DNS update - NT_STATUS_UNSUCCESSFUL

best regards

Philippe



> -----Original Message-----
> From: Andrew Bartlett [mailto:abartlet at samba.org]
> Sent: Saturday, June 22, 2013 9:09 AM
> To: Simonet Philippe, ITS-OUS-OP-IFM-NW-IPE
> Cc: samba at samba.org; samba-technical at samba.org
> Subject: Re: [Samba] [PATCH] Workaround very slow nss_winbind, fix crash
> on the AD DC (particularly for backups)
> 
> On Fri, 2013-06-21 at 08:10 +0000, Philippe.Simonet at swisscom.com wrote:
> > I tried both, and I get still crashes :
> > ----
> > 0001-gensec-work-around-nested-event-loops-by-ensuring-th.patch
> > 0002-s4-winbind-Add-special-case-for-BUILTIN-domain.patch
> > ----
> >
> > -----
> > samba version 4.0.6 started.
> > Copyright Andrew Tridgell and the Samba Team 1992-2012
> > samba: using 'single' process model
> > talloc: access after free error - first free may be at
> > ../source4/kdc/db-glue.c:206 Bad talloc magic value - access after
> > free
> > PANIC: Bad talloc magic value - access after free Aborted
> > ----
> >
> > philippe
> 
> Does setting:
> 
>         interfaces = virbr0:0 lo
>         bind interfaces only = yes
> 
> help?
> 
> Also, does reverting (with 'git revert HASH', where HASH is the commit id
> your bisect identified) help?
> 
> Finally, can you run Samba under valgrind again?  The error you show above
> doesn't seem quite right in the context, and I want to be sure we are not
> chasing an unrelated issue.
> 
> Thanks,
> 
> Andrew Bartlett
> 
> --
> Andrew Bartlett                                http://samba.org/~abartlet/
> Authentication Developer, Samba Team           http://samba.org
> 



More information about the samba-technical mailing list