s3:smbd: only mark real guest sessions with the GUEST flag
authorStefan Metzmacher <metze@samba.org>
Wed, 20 Apr 2016 14:34:28 +0000 (16:34 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Apr 2016 14:51:17 +0000 (16:51 +0200)
commit79a71545bfc87525c6ba6c8fe9fa7d8a9da33441
tree98e34c0710b2c9df7d04f15f7601ef6ace568a9d
parent25ce97892ad3ce5028e4dbbbdd844ef6619ac396
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>
source3/smbd/sesssetup.c
source3/smbd/smb2_sesssetup.c