[RFC] wbcAuthenticateUserEx()

Stefan (metze) Metzmacher metze at samba.org
Tue Jan 29 10:41:39 GMT 2008


Andrew Bartlett schrieb:
> On Thu, 2008-01-24 at 16:27 +0100, Stefan (metze) Metzmacher wrote:
>> Hi,
>>
>> I'd like to propose a new function to authenticate users
>> via libwbclient.so which can be used by auth_winbind
>> so that we can decouple smbd completely from winbind.
>>
>> The attached patch shows how the function prototype
>> should look like. I've based the interface on the
>> information from the netr_SamInfo3 struct, is this
>> ok or should I better base it on netr_SamInfo6
>> which also has the forest name and principal.
> 
> My gut feeling is to use that NDR structure, if at all possible...

No, that's not possible due to struct dom_sid which is different
between samba3 and samba4 and the libwbclient api uses struct wbcDomainSid.

metze


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080129/bd6f6a9f/signature.bin


More information about the samba-technical mailing list