summaryrefslogtreecommitdiff
path: root/source3/auth/auth_domain.c
diff options
context:
space:
mode:
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 );
}