32-bit and 64-bit nss_winbind.so on Solaris 10

Andrew Bartlett abartlet at samba.org
Tue Oct 25 10:48:51 GMT 2005

On Tue, 2005-10-25 at 08:44 +0200, Maximilian Kolmhuber wrote:
> I've successfully compiled 32-bit and 64-bit executables of 
> Samba-3.0.20b on my Solaris 10 box.
> I plan to use winbindd to allow Windows AD users to log on my Solaris 10 
> box.
> For testing, I've compiled a 64-bit version of the "getent" utility from 
> the sources available from opensolaris.org since the getent utility that 
> ships with Solaris 10 is only a 32-bit executable.
> Unfortunately, when I'm running the 32-bit Samba, only the 32-bit getent 
> can see the Windows users, and when I'm running the 64-bit Samba, only 
> the 64-bit getent can see them.
> The 32-bit and the 64-bit Samba live in different directory trees.
> Simply using the 32-bit nss_winbind.so with the 64-bit Samba doesn't 
> work, and using the 64-bit nss_winbind.so with the 32-bit Samba doesn't 
> work either.
> Running a 32-bit winbindd and a 64-bit winbindd simultaneously also 
> doesn't solve the problem (overlap in /tmp/.winbindd/pipe ?).
> Any ideas how I could get this to work?

In nsswitch/winbindd_nss.h, change all the occurences of 'int' into
something else, such as 'int32'.  (I'm assuming the problem is because
of that size changing)

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.        http://suse.de
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20051025/f2c52e27/attachment.bin

More information about the samba-technical mailing list