diff options
author | Gerald Carter <jerry@samba.org> | 2005-11-10 20:28:23 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2005-11-10 20:28:23 +0000 |
commit | 178853af9a39d1ba40b28fe9a868da23f14a1164 (patch) | |
tree | 08ed0654f7352ade487986c5a5c7e12d09a68968 /source/auth | |
parent | 7061459ed7f5e6c4a7896be00554a0c829217030 (diff) | |
download | samba-178853af9a39d1ba40b28fe9a868da23f14a1164.tar.gz samba-178853af9a39d1ba40b28fe9a868da23f14a1164.tar.xz samba-178853af9a39d1ba40b28fe9a868da23f14a1164.zip |
r11652: Reinstate the netsamlogon_cache in order to work
around failed query_user calls. This fixes
logons to a member of a Samba domain as a user from a
trusted AD domain.
As per comments on samba-technical, I still need to add
(a) cache the PAC info as werll as NTLM net_user_info_3
(b) expire the cache when the SMB session goes away
Both Jeremy and Guenther have signed off on the idea.
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/auth_domain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/auth/auth_domain.c b/source/auth/auth_domain.c index 94b138e55b1..242105a664b 100644 --- a/source/auth/auth_domain.c +++ b/source/auth/auth_domain.c @@ -252,6 +252,8 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx, domain, server_info, &info3); + + netsamlogon_cache_store( mem_ctx, user_info->smb_name.str, &info3 ); } /* Note - once the cli stream is shutdown the mem_ctx used |