summaryrefslogtreecommitdiff
path: root/source3/auth/check_samsec.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-06-01 20:30:56 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-06-07 23:34:28 +1000
commit7a021df96deaf6dbe9f1abdfc16f6276e4a192fa (patch)
tree21d1f7f53c4d2f40883332548d3fb3e41c358556 /source3/auth/check_samsec.c
parent23159453d3e61e2ad47fe6f86f3763280a11ea0c (diff)
downloadsamba-7a021df96deaf6dbe9f1abdfc16f6276e4a192fa.tar.gz
samba-7a021df96deaf6dbe9f1abdfc16f6276e4a192fa.tar.bz2
samba-7a021df96deaf6dbe9f1abdfc16f6276e4a192fa.zip
s3:auth Rename user_info->internal_username -> user_info->mapped.account_name
This is closer to the structure I want for a common struct auth_usersupplied_info. Andrew Bartlett
Diffstat (limited to 'source3/auth/check_samsec.c')
-rw-r--r--source3/auth/check_samsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/check_samsec.c b/source3/auth/check_samsec.c
index a60d124cb4..04ec10f1e8 100644
--- a/source3/auth/check_samsec.c
+++ b/source3/auth/check_samsec.c
@@ -388,12 +388,12 @@ NTSTATUS check_sam_security(const DATA_BLOB *challenge,
/* get the account information */
become_root();
- ret = pdb_getsampwnam(sampass, user_info->internal_username);
+ ret = pdb_getsampwnam(sampass, user_info->mapped.account_name);
unbecome_root();
if (ret == False) {
DEBUG(3,("check_sam_security: Couldn't find user '%s' in "
- "passdb.\n", user_info->internal_username));
+ "passdb.\n", user_info->mapped.account_name));
TALLOC_FREE(sampass);
return NT_STATUS_NO_SUCH_USER;
}