summaryrefslogtreecommitdiff
path: root/source3/auth/auth_winbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/auth_winbind.c')
-rw-r--r--source3/auth/auth_winbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index d534e59cfc..49ae3a9364 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -59,7 +59,7 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
/* Send off request */
- params.account_name = user_info->smb_name;
+ params.account_name = user_info->client.account_name;
params.domain_name = user_info->domain;
params.workstation_name = user_info->workstation_name;
@@ -114,7 +114,7 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
}
nt_status = make_server_info_wbcAuthUserInfo(mem_ctx,
- user_info->smb_name,
+ user_info->client.account_name,
user_info->domain,
info, server_info);
wbcFreeMemory(info);