diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-30 15:38:18 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:11 +1000 |
commit | 9883993b66826d2f692ebdd3c928f4f7a0cddc7d (patch) | |
tree | 7b7e52da490f28770e18d3e051c189efda748957 /source3/include | |
parent | ad5ec58a714aba1f6c0894ca4e7207f1c5072949 (diff) | |
download | samba-9883993b66826d2f692ebdd3c928f4f7a0cddc7d.tar.gz samba-9883993b66826d2f692ebdd3c928f4f7a0cddc7d.tar.bz2 samba-9883993b66826d2f692ebdd3c928f4f7a0cddc7d.zip |
s3-privs Overhaul PRIVILEGE_SET handling, avoid dealing with the bitmap
This avoids us dealing with the privilege bitmap in the LSA server, and
overhauls much of the rest of the handling to be currnet with the modern
world of talloc.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 65a27dc404..e15dc7b5a1 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -634,6 +634,7 @@ void pidfile_unlink(void); /* The following definitions come from lib/privileges.c */ bool get_privileges_for_sids(uint64_t *privileges, struct dom_sid *slist, int scount); +NTSTATUS get_privileges_for_sid_as_set(TALLOC_CTX *mem_ctx, PRIVILEGE_SET **privileges, struct dom_sid *sid); NTSTATUS privilege_enumerate_accounts(struct dom_sid **sids, int *num_sids); NTSTATUS privilege_enum_sids(enum sec_privilege privilege, TALLOC_CTX *mem_ctx, struct dom_sid **sids, int *num_sids); |