summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-30 12:59:38 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:09 +1000
commitb057867de3fbb423ef6afb9b7038ab99c83124d8 (patch)
tree313ac5da30310a23fab1f0da6a63981a68336b71 /source3/include/proto.h
parent0e2142a9275b567a3c6a8f90e95240d9e686ec27 (diff)
downloadsamba-b057867de3fbb423ef6afb9b7038ab99c83124d8.tar.gz
samba-b057867de3fbb423ef6afb9b7038ab99c83124d8.tar.bz2
samba-b057867de3fbb423ef6afb9b7038ab99c83124d8.zip
s3-privs Remove a pointer from grant_privilege()
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a8e1ac3d53..5a24b158d3 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -637,7 +637,7 @@ bool get_privileges_for_sids(uint64_t *privileges, struct dom_sid *slist, int sc
NTSTATUS privilege_enumerate_accounts(struct dom_sid **sids, int *num_sids);
NTSTATUS privilege_enum_sids(const uint64_t *mask, TALLOC_CTX *mem_ctx,
struct dom_sid **sids, int *num_sids);
-bool grant_privilege(const struct dom_sid *sid, const uint64_t *priv_mask);
+bool grant_privilege(const struct dom_sid *sid, const uint64_t priv_mask);
bool grant_privilege_by_name(struct dom_sid *sid, const char *name);
bool revoke_privilege(const struct dom_sid *sid, const uint64_t priv_mask);
bool revoke_all_privileges( struct dom_sid *sid );