summaryrefslogtreecommitdiff
path: root/source3/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
commited5fd7117e931b2fce2c2a94adc53eeb3d8a8256 (patch)
tree1f20daf020f6c65b4e54e914714e431b4a51ee74 /source3/auth
parent69e87ef8c3005c1cdf23e0ac46beb718986d7daa (diff)
downloadsamba-ed5fd7117e931b2fce2c2a94adc53eeb3d8a8256.tar.gz
samba-ed5fd7117e931b2fce2c2a94adc53eeb3d8a8256.tar.bz2
samba-ed5fd7117e931b2fce2c2a94adc53eeb3d8a8256.zip
r2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling in the username in the user_info3
(This used to be commit 4703a71fa88dff8bdc932f6c9af3a9d25a88938f)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index fdff0b52f9..6483dc143a 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/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