[RFC] Signature for WINBINDD_CCACHE_NTLMAUTH libwbclient call
Kai Blin
kai at samba.org
Mon Nov 24 09:07:25 GMT 2008
On Monday 24 November 2008 08:45:48 you wrote:
>
> winbindd_ccache_ntlm_auth() and winbindd_dual_ccache_ntlm_auth()
> seem to need more input parameters than 2 blobs.
>
> What about this:
>
> struct wbcCredentialCacheParams {
> const char *account_name;
> const char *domain_name;
> enum wbcChangePasswordLevel {
> WBC_CREDENTIAL_CACHE_LEVEL_NTLMSSP = 1
> } level;
> size_t num_blobs;
> struct wbcNamedBlob *blobs;
> };
>
> struct wbcCredentialCacheInfo {
> size_t num_blobs;
> struct wbcNamedBlob *blobs;
> };
>
> wbcErr wbcCredentialCache(struct wbcCredentialCacheParams *params,
> struct wbcCredentialCacheInfo **info,
> struct wbcAuthErrorInfo **error);
>
> This way we can also add WBC_CREDENTIAL_CACHE_LEVEL_KRB5 later.
Looks reasonable, I'll do that.
Cheers,
Kai
--
Kai Blin
WorldForge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.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: This is a digitally signed message part.
Url : http://lists.samba.org/archive/samba-technical/attachments/20081124/4710afd8/attachment.bin
More information about the samba-technical
mailing list