summaryrefslogtreecommitdiffstats
path: root/source/auth/auth_sam.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_sam.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_sam.c')
-rw-r--r--source/auth/auth_sam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/auth/auth_sam.c b/source/auth/auth_sam.c
index 94e4ec414b6..50ce9065fd9 100644
--- a/source/auth/auth_sam.c
+++ b/source/auth/auth_sam.c
@@ -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;
}