[Samba] nsswitch segfaults with Samba 3.0.21 on Solaris 9

Jeremy Allison jra at samba.org
Tue Mar 14 06:24:38 GMT 2006


On Mon, Mar 13, 2006 at 06:43:09PM -0800, J S wrote:
> Compiling with the --enable-developer and --enable-debug options, the
> compiler complains about calling malloc directly on solaris during nsswitch
> then fails.  This is gcc 3.3.2 on Solaris 9.
> 
> Here are the configure flags:
> 
> ./configure CPPFLAGS="-I/export/build/ldap/include -I/usr/local/include
> -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include
> -I/export/build/krb5/include" LD_LIBRARY_PATH="-L/export/build/ldap/lib
> -L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib
> -L/export/build/krb5/lib" LDFLAGS="-L/export/build/ldap/lib -L/usr/local/lib
> -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib
> -L/export/build/krb5/lib -R/export/build/ldap/lib -R/usr/local/lib
> -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/lib
> -R/export/build/krb5/lib" --prefix=/export/build/smb321 --enable-debug
> CC=gcc --with-ads --enable-debug --with-winbind --enable-developer
> 
> And here's the warning.

I just checked in a fix for this in the SAMBA_3_0 and trunk branches.

Jeremy.


More information about the samba mailing list