1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

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)
This commit is contained in:
Volker Lendecke 2006-05-06 19:42:25 +00:00 committed by Gerald (Jerry) Carter
parent dc9f30b8b0
commit 5ab7e77bc7
2 changed files with 6 additions and 0 deletions

View File

@ -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 );
}

View File

@ -349,6 +349,8 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context,
lm_sess_key.length);
data_blob_free(&lm_sess_key);
(*server_info)->was_mapped |= user_info->was_mapped;
return nt_status;
}