summaryrefslogtreecommitdiff
path: root/source3/auth/auth.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-03-17 09:13:02 +0100
committerStefan Metzmacher <metze@samba.org>2017-03-24 11:57:09 +0100
commit0a8aabbd86361dddbe23560c03fdb53d940a6b70 (patch)
tree453c59111e7dee974bc84281e7e6dfd62436d0fe /source3/auth/auth.c
parent9e67fd41293525aae0a8b3fd95ce0d7e86d602f7 (diff)
downloadsamba-0a8aabbd86361dddbe23560c03fdb53d940a6b70.tar.gz
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>
Diffstat (limited to 'source3/auth/auth.c')
-rw-r--r--source3/auth/auth.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index 7769c23c9c0..ed42740a82d 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -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)
{