summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-08-27 13:39:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:31 -0500
commit4703a71fa88dff8bdc932f6c9af3a9d25a88938f (patch)
treea5c3dad4a7bcbf4b95d4b6930f18188ce4f6e8fd /source/auth
parentb0af241fd1fc58c1cbaadcbf6832b608923382ff (diff)
downloadsamba-4703a71fa88dff8bdc932f6c9af3a9d25a88938f.tar.gz
samba-4703a71fa88dff8bdc932f6c9af3a9d25a88938f.tar.xz
samba-4703a71fa88dff8bdc932f6c9af3a9d25a88938f.zip
r2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling in the username in the user_info3
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_domain.c b/source/auth/auth_domain.c
index fdff0b52f96..6483dc143a0 100644
--- a/source/auth/auth_domain.c
+++ b/source/auth/auth_domain.c
@@ -205,7 +205,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx,
} else {
nt_status = make_server_info_info3(mem_ctx, user_info->internal_username.str,
user_info->smb_name.str, domain, server_info, &info3);
- netsamlogon_cache_store( mem_ctx, &info3 );
+ netsamlogon_cache_store( mem_ctx, user_info->smb_name.str, &info3 );
}
#if 0