summaryrefslogtreecommitdiff
path: root/libcli/auth/ntlmssp_private.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-06 21:31:21 +1000
committerGünther Deschner <gd@samba.org>2010-08-10 16:22:04 +0200
commit75adca63f21ab4b415e0f909a54972d8dd57a153 (patch)
treef02639e6b35063ed914589659f5dd8375444ab4d /libcli/auth/ntlmssp_private.h
parent979b672dcb013ed38a312b280fa6c0642469649b (diff)
downloadsamba-75adca63f21ab4b415e0f909a54972d8dd57a153.tar.gz
samba-75adca63f21ab4b415e0f909a54972d8dd57a153.tar.bz2
samba-75adca63f21ab4b415e0f909a54972d8dd57a153.zip
libcli/auth Make the source3/ implementation of the NTLMSSP server common
This means that the core logic (but not the initialisation) of the NTLMSSP server is in common, but uses different authentication backends. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libcli/auth/ntlmssp_private.h')
-rw-r--r--libcli/auth/ntlmssp_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/auth/ntlmssp_private.h b/libcli/auth/ntlmssp_private.h
index cb91987e6e..ff7b285b41 100644
--- a/libcli/auth/ntlmssp_private.h
+++ b/libcli/auth/ntlmssp_private.h
@@ -49,3 +49,9 @@ void ntlmssp_handle_neg_flags(struct ntlmssp_state *ntlmssp_state,
const char *ntlmssp_target_name(struct ntlmssp_state *ntlmssp_state,
uint32_t neg_flags, uint32_t *chal_flags);
+NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
+ TALLOC_CTX *out_mem_ctx,
+ const DATA_BLOB in, DATA_BLOB *out);
+NTSTATUS ntlmssp_server_auth(struct ntlmssp_state *ntlmssp_state,
+ TALLOC_CTX *out_mem_ctx,
+ const DATA_BLOB request, DATA_BLOB *reply);