summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
Diffstat (limited to 'auth')
-rw-r--r--auth/common_auth.h2
-rw-r--r--auth/ntlmssp/ntlmssp_server.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index db450ce883d..fafdbaa15cd 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -80,6 +80,8 @@ struct auth_usersupplied_info
const char *account_name; /* [charset(UTF8)] */
struct dom_sid *sid; /* [unique] */
} netlogon_trust_account;
+
+ const char *service_description;
};
struct auth_method_context;
diff --git a/auth/ntlmssp/ntlmssp_server.c b/auth/ntlmssp/ntlmssp_server.c
index eab8121448e..df7af9975de 100644
--- a/auth/ntlmssp/ntlmssp_server.c
+++ b/auth/ntlmssp/ntlmssp_server.c
@@ -718,6 +718,8 @@ static NTSTATUS ntlmssp_server_check_password(struct gensec_security *gensec_sec
user_info->client.domain_name = ntlmssp_state->domain;
user_info->workstation_name = ntlmssp_state->client.netbios_name;
user_info->remote_host = gensec_get_remote_address(gensec_security);
+ user_info->service_description
+ = gensec_get_target_service_description(gensec_security);
user_info->password_state = AUTH_PASSWORD_RESPONSE;
user_info->password.response.lanman = ntlmssp_state->lm_resp;