diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-06 21:31:21 +1000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-08-10 16:22:04 +0200 |
commit | 75adca63f21ab4b415e0f909a54972d8dd57a153 (patch) | |
tree | f02639e6b35063ed914589659f5dd8375444ab4d /libcli/auth/ntlmssp_private.h | |
parent | 979b672dcb013ed38a312b280fa6c0642469649b (diff) | |
download | samba-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.h | 6 |
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); |