summaryrefslogtreecommitdiffstats
path: root/source/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
commit293b89dfb109d6e220ced433f025cf987aa1f500 (patch)
tree27e3e1d30b228d215a2ede638162c27704e60c11 /source/auth/auth_domain.c
parent2765c4ff8d44c970db3e075b0a2412662f1936c6 (diff)
downloadsamba-293b89dfb109d6e220ced433f025cf987aa1f500.tar.gz
samba-293b89dfb109d6e220ced433f025cf987aa1f500.tar.xz
samba-293b89dfb109d6e220ced433f025cf987aa1f500.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
Diffstat (limited to 'source/auth/auth_domain.c')
-rw-r--r--source/auth/auth_domain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/auth/auth_domain.c b/source/auth/auth_domain.c
index 9360d28fac3..6360d10b692 100644
--- a/source/auth/auth_domain.c
+++ b/source/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 );
}