Factor code out of check_user_ok() into a call to check_user_share_access().
commit1abb5eb89b97fab5a4c625f5492b7d26b7f17e98
authorJeremy Allison <jra@samba.org>
Fri, 4 Jan 2013 22:35:46 +0000 (4 14:35 -0800)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 9 Jan 2013 04:29:29 +0000 (9 15:29 +1100)
treeb9ade9d81632732721a84c75406404635e89c8a7
parentea86f4e100b547c8facc5f27ac025de6b60eea94
Factor code out of check_user_ok() into a call to check_user_share_access().

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