Segfault when joining a Mac OSX client
Andrew Bartlett
abartlet at samba.org
Tue Jun 28 17:05:15 MDT 2011
On Tue, 2011-06-28 at 20:24 +0100, Adam Thorn wrote:
> On Tue, 2011-06-28 at 19:38 +0100, Adam Thorn wrote:
> > Hi,
> >
> > I'm running samba-4.0.0alpha16, and when I try to join a MacOSX client
> > (specifically, version 10.6.8) to the domain the log shows that the
> > samba binary has died with signal 11. After setting
> >
> > panic action=/usr/src/samba4/selftest/gdb_backtrace %PID%
> >
> > I can track the segfault down to the call of strncasecomp() at
> >
> > source4/dsdb/samdb/ldb_modules/acl.c:506
> >
> > which is being called with instanceName set to null. Digging a bit more,
> > at the call to krb5_parse_name on line 468, spn_value is just set to the
> > computer account name (that is, computername$).
>
> I also get exactly the same behaviour (spn_value is computername$ and so
> instanceName is null) with samba-4.0.0alpha15 and MacOS 10.6.2. Although
> I would generally avoid trying to change multiple variables at the same
> time, acl.c hasn't changed between alpha15 and alpha16.
Thank-you for your analysis. The full backtrace would be useful to
avoid miscommunication, and I hope to look into this for you shortly.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list