summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-01-04 14:27:18 -0800
committerAndrew Bartlett <abartlet@samba.org>2013-01-09 15:29:22 +1100
commit8475f206b296362fc2473bf6eb4b6d51834f8245 (patch)
treecf1c7cc693395c9d5d7d4b3efec96226023b8d93 /source3/locking
parent6d7bffa6069ef41c36c40453681372973bba0c86 (diff)
downloadsamba-8475f206b296362fc2473bf6eb4b6d51834f8245.tar.gz
samba-8475f206b296362fc2473bf6eb4b6d51834f8245.tar.bz2
samba-8475f206b296362fc2473bf6eb4b6d51834f8245.zip
Add check_user_share_access() which factors out the share security and read_only flag setting code.
Allows this to be called from both make_connection_snum() as well as check_user_ok(). Gives a consistent share security check function. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/locking')
0 files changed, 0 insertions, 0 deletions