1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

auth3: add make_auth3_context_for_{ntlm,netlogon,winbind}

For now they'll all do the same, but that will change in the following commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=2976

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher
2017-03-17 09:13:02 +01:00
parent 9e67fd4129
commit 0a8aabbd86
2 changed files with 24 additions and 0 deletions

View File

@ -528,6 +528,24 @@ NTSTATUS make_auth_context_subsystem(TALLOC_CTX *mem_ctx,
return make_auth_context_specific(mem_ctx, auth_context, methods);
}
NTSTATUS make_auth3_context_for_ntlm(TALLOC_CTX *mem_ctx,
struct auth_context **auth_context)
{
return make_auth_context_subsystem(mem_ctx, auth_context);
}
NTSTATUS make_auth3_context_for_netlogon(TALLOC_CTX *mem_ctx,
struct auth_context **auth_context)
{
return make_auth_context_subsystem(mem_ctx, auth_context);
}
NTSTATUS make_auth3_context_for_winbind(TALLOC_CTX *mem_ctx,
struct auth_context **auth_context)
{
return make_auth_context_subsystem(mem_ctx, auth_context);
}
bool auth3_context_set_challenge(struct auth_context *ctx, uint8_t chal[8],
const char *challenge_set_by)
{