diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-31 14:43:25 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-02-17 10:48:09 +0100 |
commit | 9b147ce26d040798f2528fb85907bf18865b8c8b (patch) | |
tree | c6cb542830d4914aa4d9fda63b6d18b29afdaa47 /auth | |
parent | 9c5b26f8647bd31dec9864d8c42959f81e686619 (diff) | |
download | samba-9b147ce26d040798f2528fb85907bf18865b8c8b.tar.gz samba-9b147ce26d040798f2528fb85907bf18865b8c8b.tar.bz2 samba-9b147ce26d040798f2528fb85907bf18865b8c8b.zip |
s3-auth Use the common gensec_ntlmssp_update in gensec_ntlmssp3_server
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'auth')
-rw-r--r-- | auth/ntlmssp/ntlmssp.c | 8 | ||||
-rw-r--r-- | auth/ntlmssp/ntlmssp_private.h | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/auth/ntlmssp/ntlmssp.c b/auth/ntlmssp/ntlmssp.c index 720a815449..71e0186074 100644 --- a/auth/ntlmssp/ntlmssp.c +++ b/auth/ntlmssp/ntlmssp.c @@ -138,10 +138,10 @@ static NTSTATUS gensec_ntlmssp_update_find(struct ntlmssp_state *ntlmssp_state, * or NT_STATUS_OK if the user is authenticated. */ -static NTSTATUS gensec_ntlmssp_update(struct gensec_security *gensec_security, - TALLOC_CTX *out_mem_ctx, - struct tevent_context *ev, - const DATA_BLOB input, DATA_BLOB *out) +NTSTATUS gensec_ntlmssp_update(struct gensec_security *gensec_security, + TALLOC_CTX *out_mem_ctx, + struct tevent_context *ev, + const DATA_BLOB input, DATA_BLOB *out) { struct gensec_ntlmssp_context *gensec_ntlmssp = talloc_get_type_abort(gensec_security->private_data, diff --git a/auth/ntlmssp/ntlmssp_private.h b/auth/ntlmssp/ntlmssp_private.h index e7fa3d5539..7953d8ef73 100644 --- a/auth/ntlmssp/ntlmssp_private.h +++ b/auth/ntlmssp/ntlmssp_private.h @@ -43,6 +43,13 @@ union ntlmssp_crypt_state { /* The following definitions come from auth/ntlmssp.c */ +NTSTATUS gensec_ntlmssp_update(struct gensec_security *gensec_security, + TALLOC_CTX *out_mem_ctx, + struct tevent_context *ev, + const DATA_BLOB input, DATA_BLOB *out); + +/* The following definitions come from auth/ntlmssp_util.c */ + void debug_ntlmssp_flags(uint32_t neg_flags); void ntlmssp_handle_neg_flags(struct ntlmssp_state *ntlmssp_state, uint32_t neg_flags, bool allow_lm); |