diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-06-01 21:11:14 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-06-07 23:34:28 +1000 |
commit | fc956cfcbb53103ed46a3729364e88536d569dc9 (patch) | |
tree | 12464f914d37587354e7a5f625867cfc9f0b485b /source3/auth/auth_winbind.c | |
parent | deabae191b34bdd350c7fe6c0c9ad05defa8d08c (diff) | |
download | samba-fc956cfcbb53103ed46a3729364e88536d569dc9.tar.gz samba-fc956cfcbb53103ed46a3729364e88536d569dc9.tar.bz2 samba-fc956cfcbb53103ed46a3729364e88536d569dc9.zip |
s3:auth Rename user_info->domain -> user_info->mapped.domain_name
This is closer to the structure I want for a common struct
auth_usersupplied_info.
Andrew Bartlett
Diffstat (limited to 'source3/auth/auth_winbind.c')
-rw-r--r-- | source3/auth/auth_winbind.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c index 6d4b889ca9..beaba7d4c0 100644 --- a/source3/auth/auth_winbind.c +++ b/source3/auth/auth_winbind.c @@ -51,16 +51,16 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context, return NT_STATUS_INVALID_PARAMETER; } - if (strequal(user_info->domain, get_global_sam_name())) { + if (strequal(user_info->mapped.domain_name, get_global_sam_name())) { DEBUG(3,("check_winbind_security: Not using winbind, requested domain [%s] was for this SAM.\n", - user_info->domain)); + user_info->mapped.domain_name)); return NT_STATUS_NOT_IMPLEMENTED; } /* Send off request */ params.account_name = user_info->client.account_name; - params.domain_name = user_info->domain; + params.domain_name = user_info->mapped.domain_name; params.workstation_name = user_info->workstation_name; params.flags = 0; @@ -115,7 +115,7 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context, nt_status = make_server_info_wbcAuthUserInfo(mem_ctx, user_info->client.account_name, - user_info->domain, + user_info->mapped.domain_name, info, server_info); wbcFreeMemory(info); if (!NT_STATUS_IS_OK(nt_status)) { |