summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-30 12:44:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:08 +1000
commita02ae674dd6ffaa8ebc4017af6a644162c59a00d (patch)
treee9d25b391a3f41e3a55cbad2b541137908ca3fd6 /source3/include
parentcbd72ab93bc35aa71a55b190cd999dda4106be07 (diff)
downloadsamba-a02ae674dd6ffaa8ebc4017af6a644162c59a00d.tar.gz
samba-a02ae674dd6ffaa8ebc4017af6a644162c59a00d.tar.bz2
samba-a02ae674dd6ffaa8ebc4017af6a644162c59a00d.zip
s3-privs Remove a pointer indirection from revoke_privilege()
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include')
-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 c1910fb26b..a8e1ac3d53 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -639,7 +639,7 @@ 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_by_name(struct dom_sid *sid, const char *name);
-bool revoke_privilege(const struct dom_sid *sid, const uint64_t *priv_mask);
+bool revoke_privilege(const struct dom_sid *sid, const uint64_t priv_mask);
bool revoke_all_privileges( struct dom_sid *sid );
bool revoke_privilege_by_name(struct dom_sid *sid, const char *name);
NTSTATUS privilege_create_account(const struct dom_sid *sid );