summaryrefslogtreecommitdiff
path: root/source3/auth/auth_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/auth_server.c')
-rw-r--r--source3/auth/auth_server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index f50f37a6ff..c4d02e25f4 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -348,7 +348,7 @@ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context
sizeof(badpass),
(char *)badpass,
sizeof(badpass),
- user_info->domain))) {
+ user_info->mapped.domain_name))) {
/*
* We connected to the password server so we
@@ -396,9 +396,9 @@ use this machine as the password server.\n"));
/* Plaintext available */
nt_status = cli_session_setup(
cli, user_info->client.account_name,
- (char *)user_info->plaintext_password.data,
- user_info->plaintext_password.length,
- NULL, 0, user_info->domain);
+ (char *)user_info->plaintext_password.data,
+ user_info->plaintext_password.length,
+ NULL, 0, user_info->mapped.domain_name);
} else {
nt_status = cli_session_setup(
@@ -407,7 +407,7 @@ use this machine as the password server.\n"));
user_info->lm_resp.length,
(char *)user_info->nt_resp.data,
user_info->nt_resp.length,
- user_info->domain);
+ user_info->mapped.domain_name);
}
if (!NT_STATUS_IS_OK(nt_status)) {