Correctly setup the conn->share_access based on the current user token.
authorJeremy Allison <jra@samba.org>
Fri, 4 Jan 2013 23:06:35 +0000 (15:06 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 14 Jan 2013 18:03:28 +0000 (19:03 +0100)
commitc03fd9c96b1d0b1a8f491daaf192293a666fd9d4
tree313a6080e425fdfae25e9b67ea800282dac1e31a
parentbb7cdda75333f9ea49601f81047e6a1b94d890c2
Correctly setup the conn->share_access based on the current user token.

Also use this to set conn->read_only. Cache the share_access
so we only evaluate this once per new user access on this share.

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/smbd/uid.c