From 5ab7e77bc7659a9707fb702b162fc4201f244c60 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 6 May 2006 19:42:25 +0000 Subject: 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) --- source3/auth/auth_domain.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/auth/auth_domain.c') 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 ); } -- cgit