s3:smbd: only mark real guest sessions with the GUEST flag
commitab24cfadcd879a7507551e9e60bb4b09f21846d0
authorStefan Metzmacher <metze@samba.org>
Wed, 20 Apr 2016 14:34:28 +0000 (20 16:34 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 29 Apr 2016 07:39:28 +0000 (29 09:39 +0200)
tree61c0af52cf6c8f31321017b5d56967fb1fbaf7d2
parent2a9cbef97d2e5803f1e67dbc2c5205db9eee2285
s3:smbd: only mark real guest sessions with the GUEST flag

Real anonymous sessions don't get it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11847

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 79a71545bfc87525c6ba6c8fe9fa7d8a9da33441)
source3/smbd/sesssetup.c
source3/smbd/smb2_sesssetup.c