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/include | |
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/include')
-rw-r--r-- | source3/include/proto.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 91905d3cbc..c6fd474978 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -244,8 +244,10 @@ struct security_descriptor *get_share_security( TALLOC_CTX *ctx, const char *ser size_t *psize); bool set_share_security(const char *share_name, struct security_descriptor *psd); bool delete_share_security(const char *servicename); -bool share_access_check(const struct security_token *token, const char *sharename, - uint32 desired_access); +bool share_access_check(const struct security_token *token, + const char *sharename, + uint32 desired_access, + uint32_t *pgranted); bool parse_usershare_acl(TALLOC_CTX *ctx, const char *acl_str, struct security_descriptor **ppsd); /* The following definitions come from lib/smbrun.c */ |