32-bit and 64-bit nss_winbind.so on Solaris 10
abartlet at samba.org
Tue Oct 25 14:17:28 GMT 2005
On Tue, 2005-10-25 at 14:05 +0200, Maximilian Kolmhuber wrote:
> On Solaris 10 in 64-bit mode, gcc (3.4.4) returns the following sizes:
> sizeof(char) = 1
> sizeof(int) = 4
> sizeof(long) = 8
> sizeof(long long) = 8
> The only change that I can see is that the size of long has changed from
> 4 to 8 bytes ...
> Changing the data type from int to int32 in nsswitch/winbindd_nss.h will
> probably not fix the problem.
> Modifying nsswitch/winbindd_nss.h as follows allows me to at least run
> the 32-bit and the 64-bit winbindd simultaneously, but does not appear
> to me to be an optimal solution, since it requires two winbindd
> processes to be running:
> #ifdef _LP64 /* 64-bit gcc */
> #define WINBINDD_SOCKET_NAME "pipe64" /* Name of PF_UNIX
> socket */
> #define WINBINDD_SOCKET_NAME "pipe" /* Name of PF_UNIX
> socket */
> Where else could the problem lie?
See if you can print out the size of all the elements, including the
extra_data pointer. I'm sure the error is something like that...
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
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20051026/0726b048/attachment.bin
More information about the samba-technical