From 4080ff7af5eec946a01c52f8d9ba01f1ef81fe71 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 30 Aug 2010 14:17:02 +1000 Subject: 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 --- source3/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/proto.h') 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); -- cgit