summaryrefslogtreecommitdiff
path: root/source3/auth/proto.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-03 23:32:26 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-24 11:23:18 +1100
commit4478f315e6cb178b53114033e1247e265f82ab8f (patch)
treef29e886f9ddb223f530fe30609c9dda216dcfec6 /source3/auth/proto.h
parente3cebef0cf93ddade8e698ea292d2c03cf005a7b (diff)
downloadsamba-4478f315e6cb178b53114033e1247e265f82ab8f.tar.gz
samba-4478f315e6cb178b53114033e1247e265f82ab8f.tar.bz2
samba-4478f315e6cb178b53114033e1247e265f82ab8f.zip
s3-auth: Provide helper routine to check password and return session_info
Diffstat (limited to 'source3/auth/proto.h')
-rw-r--r--source3/auth/proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/auth/proto.h b/source3/auth/proto.h
index 2d123b0264..c68b99af90 100644
--- a/source3/auth/proto.h
+++ b/source3/auth/proto.h
@@ -73,6 +73,11 @@ NTSTATUS make_auth4_context(TALLOC_CTX *mem_ctx, struct auth4_context **auth4_co
NTSTATUS auth_generic_prepare(TALLOC_CTX *mem_ctx, const struct tsocket_address *remote_address,
struct gensec_security **gensec_security_out);
+NTSTATUS auth_check_password_session_info(struct auth4_context *auth_context,
+ TALLOC_CTX *mem_ctx,
+ struct auth_usersupplied_info *user_info,
+ struct auth_session_info **session_info);
+
/* The following definitions come from auth/auth_ntlmssp.c */
NTSTATUS auth3_generate_session_info(struct auth4_context *auth_context,