summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-30 14:17:02 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:11 +1000
commit4080ff7af5eec946a01c52f8d9ba01f1ef81fe71 (patch)
treecc50d2c7d8460563788a98be4fcc7aaac9a918e8 /source3/include
parent71832a404e5028c1c3933351c608a99e4fc80e42 (diff)
downloadsamba-4080ff7af5eec946a01c52f8d9ba01f1ef81fe71.tar.gz
samba-4080ff7af5eec946a01c52f8d9ba01f1ef81fe71.tar.bz2
samba-4080ff7af5eec946a01c52f8d9ba01f1ef81fe71.zip
s3-privs Make privilege_enum_sids() take an LUID, not a bitmap
This moves one more privileges call away from direct bitmap manipuation. Andrew Bartlett 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 2e8f3c9f7e..4081a82686 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -635,7 +635,7 @@ void pidfile_unlink(void);
bool get_privileges_for_sids(uint64_t *privileges, struct dom_sid *slist, int scount);
NTSTATUS privilege_enumerate_accounts(struct dom_sid **sids, int *num_sids);
-NTSTATUS privilege_enum_sids(const uint64_t *mask, TALLOC_CTX *mem_ctx,
+NTSTATUS privilege_enum_sids(enum sec_privilege privilege, 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);