[Samba4] Making Samba4 winbind compatible to Samba3 winbind

Kai Blin kai.blin at gmail.com
Thu May 31 20:53:28 GMT 2007


Hi folks,

as a first step in my SoC project, I'm looking into making libnss_winbind from 
samba 3 working with Samba4. In order to do so, I'm looking into porting the 
changes from Samba3's nsswitch/winbindd_nss.h to Samba4's 
nsswitch/winbindd_nss.h.

Some changes are straightforward as they're just some new features I need to 
add. Sometimes however, the types are different.

Examples are the lm_resp_len and the nt_resp_len, both are uint32 in samba3 
and uint16_t in samba4. Another example is the require_membership_of_sid 
string, which is a winbind_string (char[256]) in samba4 and a pstring 
(char[1024]) in samba3.

Should I just change those? Is there a rationale in the types in samba4?

Cheers,
Kai
-- 
Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://us1.samba.org/samba/team/
--
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070531/1716331d/attachment.bin


More information about the samba-technical mailing list