diff options
Diffstat (limited to 'auth/ntlmssp/ntlmssp_server.c')
-rw-r--r-- | auth/ntlmssp/ntlmssp_server.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/auth/ntlmssp/ntlmssp_server.c b/auth/ntlmssp/ntlmssp_server.c index 1bfd4ccdc24..c525a93941f 100644 --- a/auth/ntlmssp/ntlmssp_server.c +++ b/auth/ntlmssp/ntlmssp_server.c @@ -721,7 +721,14 @@ static NTSTATUS ntlmssp_server_check_password(struct gensec_security *gensec_sec user_info->local_host = gensec_get_local_address(gensec_security); user_info->service_description = gensec_get_target_service_description(gensec_security); - user_info->auth_description = "NTLMSSP"; + + /* + * This will just be the string "NTLMSSP" from + * gensec_ntlmssp_final_auth_type, but ensures it stays in sync + * with the same use in the authorization logging triggered by + * gensec_session_info() later + */ + user_info->auth_description = gensec_final_auth_type(gensec_security); user_info->password_state = AUTH_PASSWORD_RESPONSE; user_info->password.response.lanman = ntlmssp_state->lm_resp; |