Segfault when joining a Mac OSX client

Adam Thorn alt36 at
Tue Jun 28 13:24:13 MDT 2011

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.


More information about the samba-technical mailing list