summaryrefslogtreecommitdiffstats
path: root/source3/auth/user_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/user_info.c')
-rw-r--r--source3/auth/user_info.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/user_info.c b/source3/auth/user_info.c
index ca492d4135..fdf80344cd 100644
--- a/source3/auth/user_info.c
+++ b/source3/auth/user_info.c
@@ -70,8 +70,8 @@ NTSTATUS make_user_info(struct auth_usersupplied_info **user_info,
return NT_STATUS_NO_MEMORY;
}
- (*user_info)->client_domain = SMB_STRDUP(client_domain);
- if ((*user_info)->client_domain == NULL) {
+ (*user_info)->client.domain_name = SMB_STRDUP(client_domain);
+ if ((*user_info)->client.domain_name == NULL) {
free_user_info(user_info);
return NT_STATUS_NO_MEMORY;
}
@@ -119,8 +119,8 @@ void free_user_info(struct auth_usersupplied_info **user_info)
}
SAFE_FREE((*user_info)->client.account_name);
SAFE_FREE((*user_info)->mapped.account_name);
- SAFE_FREE((*user_info)->client_domain);
SAFE_FREE((*user_info)->domain);
+ SAFE_FREE((*user_info)->client.domain_name);
SAFE_FREE((*user_info)->workstation_name);
data_blob_free(&(*user_info)->lm_resp);
data_blob_free(&(*user_info)->nt_resp);