diff options
author | Simo Sorce <idra@samba.org> | 2002-11-02 12:53:13 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-11-02 12:53:13 +0000 |
commit | d12baf7bf7a81cc579dc717d9592c36ad10fda38 (patch) | |
tree | 1898a91cd99a26d4560dadba4b4f11e978bdb952 /source3/lib | |
parent | b3b24fb6904770e9bb211b42c7745e85b98d9a2b (diff) | |
download | samba-d12baf7bf7a81cc579dc717d9592c36ad10fda38.tar.gz samba-d12baf7bf7a81cc579dc717d9592c36ad10fda38.tar.bz2 samba-d12baf7bf7a81cc579dc717d9592c36ad10fda38.zip |
port sec_desc headers reordering from HEAD.
Thanks to Andrew Brtlet for the diff :-)
(This used to be commit cf67981e73cf52803eae589a6b86e1274bf72d2c)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_seaccess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_seaccess.c b/source3/lib/util_seaccess.c index 456d7ba9e2..21d7fe8599 100644 --- a/source3/lib/util_seaccess.c +++ b/source3/lib/util_seaccess.c @@ -468,11 +468,11 @@ NTSTATUS samr_make_sam_obj_sd(TALLOC_CTX *ctx, SEC_DESC **psd, size_t *sd_size) sid_append_rid(&act_sid, BUILTIN_ALIAS_RID_ACCOUNT_OPS); /*basic access for every one*/ - init_sec_access(&mask, SAMR_EXECUTE | SAMR_READ); + init_sec_access(&mask, GENERIC_RIGHTS_SAM_EXECUTE | GENERIC_RIGHTS_SAM_READ); init_sec_ace(&ace[0], &global_sid_World, SEC_ACE_TYPE_ACCESS_ALLOWED, mask, 0); /*full access for builtin aliases Administrators and Account Operators*/ - init_sec_access(&mask, SAMR_ALL_ACCESS); + init_sec_access(&mask, GENERIC_RIGHTS_SAM_ALL_ACCESS); init_sec_ace(&ace[1], &adm_sid, SEC_ACE_TYPE_ACCESS_ALLOWED, mask, 0); init_sec_ace(&ace[2], &act_sid, SEC_ACE_TYPE_ACCESS_ALLOWED, mask, 0); |