summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-12-29 11:50:46 +0100
committerStefan Metzmacher <metze@samba.org>2009-12-29 12:13:30 +0100
commit8b68349442a37d987b496344133d309f8af853cb (patch)
tree1a29be355254ff97dde4baef026b7653adee427e
parent27349a68ea11493029bf0dbdf7399b70d7fe6ea4 (diff)
downloadsamba-8b68349442a37d987b496344133d309f8af853cb.tar.gz
samba-8b68349442a37d987b496344133d309f8af853cb.tar.bz2
samba-8b68349442a37d987b496344133d309f8af853cb.zip
s4:auth: add auth_get_server_info_principal() prototype to auth.h
metze
-rw-r--r--source4/auth/auth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/auth/auth.h b/source4/auth/auth.h
index f4e3b2038c..fa2329df32 100644
--- a/source4/auth/auth.h
+++ b/source4/auth/auth.h
@@ -287,6 +287,11 @@ NTSTATUS auth_check_password_recv(struct tevent_req *req,
bool auth_challenge_may_be_modified(struct auth_context *auth_ctx);
NTSTATUS auth_context_set_challenge(struct auth_context *auth_ctx, const uint8_t chal[8], const char *set_by);
+NTSTATUS auth_get_server_info_principal(TALLOC_CTX *mem_ctx,
+ struct auth_context *auth_ctx,
+ const char *principal,
+ struct auth_serversupplied_info **server_info);
+
NTSTATUS samba_server_gensec_start(TALLOC_CTX *mem_ctx,
struct tevent_context *event_ctx,
struct messaging_context *msg_ctx,