summaryrefslogtreecommitdiff
path: root/source3/auth/auth_domain.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-06 19:42:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:52 -0500
commit5ab7e77bc7659a9707fb702b162fc4201f244c60 (patch)
treeb51c247ee9f26b9a2d3cf814474c654f3ea3b61f /source3/auth/auth_domain.c
parentdc9f30b8b0ace8d6e2c8c0cbed537fde68d1556a (diff)
downloadsamba-5ab7e77bc7659a9707fb702b162fc4201f244c60.tar.gz
samba-5ab7e77bc7659a9707fb702b162fc4201f244c60.tar.bz2
samba-5ab7e77bc7659a9707fb702b162fc4201f244c60.zip
r15476: Transfer the was_mapped flag from user_info to server_info also in auth_sam
and auth_domain. Thanks for Simo to point this out. Volker (This used to be commit 293b89dfb109d6e220ced433f025cf987aa1f500)
Diffstat (limited to 'source3/auth/auth_domain.c')
-rw-r--r--source3/auth/auth_domain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 9360d28fac..6360d10b69 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -256,6 +256,10 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx,
server_info,
&info3);
+ if (NT_STATUS_IS_OK(nt_status)) {
+ (*server_info)->was_mapped |= user_info->was_mapped;
+ }
+
netsamlogon_cache_store( user_info->smb_name, &info3 );
}