Fix bug #9518 - conn->share_access appears not be be reset between users.
commit86d1e1db8e2747e30c89627cda123fde1e84f579
authorJeremy Allison <jra@samba.org>
Fri, 4 Jan 2013 22:40:05 +0000 (4 14:40 -0800)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 9 Jan 2013 04:29:32 +0000 (9 15:29 +1100)
treeab5f49b20d28e9e24b366eed4f98034da1caa99c
parent1abb5eb89b97fab5a4c625f5492b7d26b7f17e98
Fix bug #9518 - conn->share_access appears not be be reset between users.

Ensure make_connection_snum() uses the same logic as
check_user_ok() to decide if a user can access a share.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/service.c