diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-06-01 20:27:03 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-06-07 23:34:28 +1000 |
commit | 23159453d3e61e2ad47fe6f86f3763280a11ea0c (patch) | |
tree | 05a7c39bcc9028b32c5156945e5646c377552c9a /source3/auth/auth_domain.c | |
parent | 0dc88d2745e89096fda0e097bcf958949d7efc2d (diff) | |
download | samba-23159453d3e61e2ad47fe6f86f3763280a11ea0c.tar.gz samba-23159453d3e61e2ad47fe6f86f3763280a11ea0c.tar.bz2 samba-23159453d3e61e2ad47fe6f86f3763280a11ea0c.zip |
s3:auth Rename user_info->smb_name -> user_info->client.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_domain.c')
-rw-r--r-- | source3/auth/auth_domain.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index 9d63e59dd6..ec6b3ea059 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -308,7 +308,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx, mem_ctx, user_info->logon_parameters,/* flags such as 'allow workstation logon' */ dc_name, /* server name */ - user_info->smb_name, /* user name logging on. */ + user_info->client.account_name, /* user name logging on. */ user_info->client_domain, /* domain name */ user_info->workstation_name,/* workstation name */ chal, /* 8 byte challenge. */ @@ -324,7 +324,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx, if (!NT_STATUS_IS_OK(nt_status)) { DEBUG(0,("domain_client_validate: unable to validate password " "for user %s in domain %s to Domain controller %s. " - "Error was %s.\n", user_info->smb_name, + "Error was %s.\n", user_info->client.account_name, user_info->client_domain, dc_name, nt_errstr(nt_status))); @@ -334,7 +334,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx, } } else { nt_status = make_server_info_info3(mem_ctx, - user_info->smb_name, + user_info->client.account_name, domain, server_info, info3); @@ -355,7 +355,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx, } } - netsamlogon_cache_store(user_info->smb_name, info3); + netsamlogon_cache_store(user_info->client.account_name, info3); TALLOC_FREE(info3); } |