diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-06-01 20:30:56 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-06-07 23:34:28 +1000 |
commit | 7a021df96deaf6dbe9f1abdfc16f6276e4a192fa (patch) | |
tree | 21d1f7f53c4d2f40883332548d3fb3e41c358556 /source3/auth/auth_server.c | |
parent | 23159453d3e61e2ad47fe6f86f3763280a11ea0c (diff) | |
download | samba-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/auth_server.c')
-rw-r--r-- | source3/auth/auth_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index 9d31905d6b..f50f37a6ff 100644 --- a/source3/auth/auth_server.c +++ b/source3/auth/auth_server.c @@ -281,7 +281,7 @@ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context NTSTATUS nt_status = NT_STATUS_NOT_IMPLEMENTED; bool locally_made_cli = False; - DEBUG(10, ("Check auth for: [%s]\n", user_info->internal_username)); + DEBUG(10, ("Check auth for: [%s]\n", user_info->mapped.account_name)); cli = state->cli; @@ -427,7 +427,7 @@ use this machine as the password server.\n")); fstring real_username; struct passwd *pass; - if ( (pass = smb_getpwnam( NULL, user_info->internal_username, + if ( (pass = smb_getpwnam( NULL, user_info->mapped.account_name, real_username, True )) != NULL ) { /* if a real user check pam account restrictions */ |