s3-smbd: Split make_serverinfo_from_username guest parameters into two parts
commit24d68d799553b0806e580a47aed70a4eaac09191
authorAndrew Bartlett <abartlet@samba.org>
Wed, 3 Apr 2013 22:53:34 +0000 (4 09:53 +1100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Apr 2013 06:51:56 +0000 (30 08:51 +0200)
treeadaf54ef48fec081049b3844a2c2b2a5aa342a45
parent022d37a0626086ea0f1776feeead070335923871
s3-smbd: Split make_serverinfo_from_username guest parameters into two parts

This handles differently the case where we are the guest (from security=share) and
when we are forced to be a different user with force user.  We want to maintain
only the is_guest flag if were forced to become any other user, we need the rest
of the token to change.

Andrew Bartlett

Fix bug #9746 - guest ok + force user + force group doesn't work.
source3/auth/auth_util.c
source3/auth/proto.h
source3/smbd/service.c