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.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.c')
-rw-r--r-- | source3/auth/auth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c index 8d351ae390..a52dab9f01 100644 --- a/source3/auth/auth.c +++ b/source3/auth/auth.c @@ -217,7 +217,7 @@ static NTSTATUS check_ntlm_password(const struct auth_context *auth_context, user_info->client.domain_name, user_info->client.account_name, user_info->workstation_name)); DEBUG(3, ("check_ntlm_password: mapped user is: [%s]\\[%s]@[%s]\n", - user_info->domain, user_info->mapped.account_name, user_info->workstation_name)); + user_info->mapped.domain_name, user_info->mapped.account_name, user_info->workstation_name)); if (auth_context->challenge.length != 8) { DEBUG(0, ("check_ntlm_password: Invalid challenge stored for this auth context - cannot continue\n")); @@ -241,14 +241,14 @@ static NTSTATUS check_ntlm_password(const struct auth_context *auth_context, #endif /* This needs to be sorted: If it doesn't match, what should we do? */ - if (!check_domain_match(user_info->client.account_name, user_info->domain)) + if (!check_domain_match(user_info->client.account_name, user_info->mapped.domain_name)) return NT_STATUS_LOGON_FAILURE; for (auth_method = auth_context->auth_method_list;auth_method; auth_method = auth_method->next) { NTSTATUS result; - mem_ctx = talloc_init("%s authentication for user %s\\%s", auth_method->name, - user_info->domain, user_info->client.account_name); + mem_ctx = talloc_init("%s authentication for user %s\\%s", auth_method->name, + user_info->mapped.domain_name, user_info->client.account_name); result = auth_method->auth(auth_context, auth_method->private_data, mem_ctx, user_info, server_info); |