diff options
author | Jeremy Allison <jra@samba.org> | 2013-01-04 14:27:18 -0800 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-01-09 15:29:22 +1100 |
commit | 8475f206b296362fc2473bf6eb4b6d51834f8245 (patch) | |
tree | cf1c7cc693395c9d5d7d4b3efec96226023b8d93 /source3/locking | |
parent | 6d7bffa6069ef41c36c40453681372973bba0c86 (diff) | |
download | samba-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