mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3:auth_generic: add "ntlmssp_resume_ccache" backend in auth_generic_client_prepare()
This will be used by winbindd in order to correctly implement WINBINDD_CCACHE_NTLMAUTH. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
b133f66e0d
commit
8bcde9ec62
@ -86,7 +86,7 @@ NTSTATUS auth_generic_client_prepare(TALLOC_CTX *mem_ctx, struct auth_generic_st
|
||||
}
|
||||
|
||||
backends = talloc_zero_array(gensec_settings,
|
||||
const struct gensec_security_ops *, 6);
|
||||
const struct gensec_security_ops *, 7);
|
||||
if (backends == NULL) {
|
||||
TALLOC_FREE(ans);
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
@ -101,6 +101,7 @@ NTSTATUS auth_generic_client_prepare(TALLOC_CTX *mem_ctx, struct auth_generic_st
|
||||
#endif
|
||||
|
||||
backends[idx++] = gensec_security_by_oid(NULL, GENSEC_OID_NTLMSSP);
|
||||
backends[idx++] = gensec_security_by_name(NULL, "ntlmssp_resume_ccache");
|
||||
|
||||
backends[idx++] = gensec_security_by_oid(NULL, GENSEC_OID_SPNEGO);
|
||||
backends[idx++] = gensec_security_by_auth_type(NULL, DCERPC_AUTH_TYPE_SCHANNEL);
|
||||
|
Loading…
Reference in New Issue
Block a user