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

Andrew Bartlett abartlet at samba.org
Tue Oct 25 22:57:10 GMT 2005


On Tue, 2005-10-25 at 10:38 -0700, Jeremy Allison wrote:
> On Tue, Oct 25, 2005 at 07:33:04PM +0200, Maximilian Kolmhuber wrote:
> > In fact, all sizes are identical except for char * (extra_data), which 
> > - in a 64-bit environment - is necessarily 8 bytes long.
> > 
> > But it seems to me that fixing that is quite painful without having 
> > in-depth knowledge of the source code itself.
> > 
> > Do you see a possibility for a "quick" fix, or is this rather a 
> > candidate for a bug report?
> 
> Please log a bugzilla bug so we can track this.

So, in terms of the 'protocol' across the winbindd pipe, the pointer is
used like in NDR:  A boolean indication of 'is there extra data'.  As
such, we don't need to keep the actual pointer there, nor do we depend
on it's size.  

Because that structure is used both for a 'wire' and internal
representation, we just need somewhere else to stuff the extra data
while processing it.

Anyway, add this to bugzilla, so it won't get lost.

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/20051026/f0ed7b3c/attachment.bin


More information about the samba-technical mailing list