diff options
author | Volker Lendecke <vl@samba.org> | 2011-07-04 17:02:34 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-05 13:28:03 +0200 |
commit | 1c022d2e414607633323e65abbc63bb3aeaaa6a4 (patch) | |
tree | 9ed522cee9c45097e7e96869b0b066eafbd025ce /source3/rpc_server | |
parent | fe8fe384f35fcf827630061ceda553ae8867f4ad (diff) | |
download | samba-1c022d2e414607633323e65abbc63bb3aeaaa6a4.tar.gz samba-1c022d2e414607633323e65abbc63bb3aeaaa6a4.tar.bz2 samba-1c022d2e414607633323e65abbc63bb3aeaaa6a4.zip |
s3: Return "granted" from share_access_check
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srvsvc/srv_srvsvc_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c index 7299d4cb77..7d52a761b6 100644 --- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c +++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c @@ -541,8 +541,8 @@ static bool is_enumeration_allowed(struct pipes_struct *p, if (!lp_access_based_share_enum(snum)) return true; - return share_access_check(p->session_info->security_token, lp_servicename(snum), - FILE_READ_DATA); + return share_access_check(p->session_info->security_token, + lp_servicename(snum), FILE_READ_DATA, NULL); } /******************************************************************* |