diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-09 14:29:55 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-03-09 14:31:25 +1100 |
commit | b6ba8bdac33166bb864bbc9d98c5086cb7f9c969 (patch) | |
tree | 6fe2bdd8a8f6680e7c4669067fabc73eb95d02c6 /auth/ntlmssp/ntlmssp_server.c | |
parent | 239c7a355c2caec095e649ec3ccb7102fe93de67 (diff) | |
download | samba-b6ba8bdac33166bb864bbc9d98c5086cb7f9c969.tar.gz |
auth/ntlmssp: Remove reference to struct ntlmssp_state
Diffstat (limited to 'auth/ntlmssp/ntlmssp_server.c')
-rw-r--r-- | auth/ntlmssp/ntlmssp_server.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/auth/ntlmssp/ntlmssp_server.c b/auth/ntlmssp/ntlmssp_server.c index ecbc25888e1..bb86c9cf20a 100644 --- a/auth/ntlmssp/ntlmssp_server.c +++ b/auth/ntlmssp/ntlmssp_server.c @@ -624,14 +624,13 @@ NTSTATUS gensec_ntlmssp_server_auth(struct gensec_security *gensec_security, struct gensec_ntlmssp_context *gensec_ntlmssp = talloc_get_type_abort(gensec_security->private_data, struct gensec_ntlmssp_context); - struct ntlmssp_state *ntlmssp_state = gensec_ntlmssp->ntlmssp_state; struct ntlmssp_server_auth_state *state; NTSTATUS nt_status; /* zero the outbound NTLMSSP packet */ *out = data_blob_null; - state = talloc_zero(ntlmssp_state, struct ntlmssp_server_auth_state); + state = talloc_zero(gensec_ntlmssp, struct ntlmssp_server_auth_state); if (state == NULL) { return NT_STATUS_NO_MEMORY; } @@ -655,10 +654,6 @@ NTSTATUS gensec_ntlmssp_server_auth(struct gensec_security *gensec_security, &state->user_session_key, &state->lm_session_key); if (!NT_STATUS_IS_OK(nt_status)) { - DEBUG(5,("%s: Checking NTLMSSP password for %s\\%s failed: %s\n", - __location__, - ntlmssp_state->domain, ntlmssp_state->user, - nt_errstr(nt_status))); TALLOC_FREE(state); return nt_status; } |