summaryrefslogtreecommitdiff
path: root/source3/libads/disp_sec.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-28 03:31:52 +0200
committerGünther Deschner <gd@samba.org>2010-05-31 11:53:00 +0200
commit82e140c04562c1480d8ae1d6cb68d510824a1a1c (patch)
treeef8a53d4719d52ef44017054b53bc55ba27d35e1 /source3/libads/disp_sec.c
parentfbb7814f91f85e95769a5e23506825167b44139f (diff)
downloadsamba-82e140c04562c1480d8ae1d6cb68d510824a1a1c.tar.gz
samba-82e140c04562c1480d8ae1d6cb68d510824a1a1c.tar.bz2
samba-82e140c04562c1480d8ae1d6cb68d510824a1a1c.zip
s3: use shared security defines.
Guenther
Diffstat (limited to 'source3/libads/disp_sec.c')
-rw-r--r--source3/libads/disp_sec.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/source3/libads/disp_sec.c b/source3/libads/disp_sec.c
index f8489e1e0b..ad07ffc465 100644
--- a/source3/libads/disp_sec.c
+++ b/source3/libads/disp_sec.c
@@ -27,26 +27,26 @@ static struct perm_mask_str {
} perms[] = {
{SEC_RIGHTS_FULL_CTRL, "[Full Control]"},
- {SEC_RIGHTS_LIST_CONTENTS, "[List Contents]"},
- {SEC_RIGHTS_LIST_OBJECT, "[List Object]"},
+ {SEC_ADS_LIST, "[List Contents]"},
+ {SEC_ADS_LIST_OBJECT, "[List Object]"},
- {SEC_RIGHTS_READ_ALL_PROP, "[Read All Properties]"},
- {SEC_RIGHTS_READ_PERMS, "[Read Permissions]"},
+ {SEC_ADS_READ_PROP, "[Read All Properties]"},
+ {SEC_STD_READ_CONTROL, "[Read Permissions]"},
- {SEC_RIGHTS_WRITE_ALL_VALID, "[All validate writes]"},
- {SEC_RIGHTS_WRITE_ALL_PROP, "[Write All Properties]"},
+ {SEC_ADS_SELF_WRITE, "[All validate writes]"},
+ {SEC_ADS_WRITE_PROP, "[Write All Properties]"},
- {SEC_RIGHTS_MODIFY_PERMS, "[Modify Permissions]"},
- {SEC_RIGHTS_MODIFY_OWNER, "[Modify Owner]"},
+ {SEC_STD_WRITE_DAC, "[Modify Permissions]"},
+ {SEC_STD_WRITE_OWNER, "[Modify Owner]"},
- {SEC_RIGHTS_CREATE_CHILD, "[Create All Child Objects]"},
+ {SEC_ADS_CREATE_CHILD, "[Create All Child Objects]"},
- {SEC_RIGHTS_DELETE, "[Delete]"},
- {SEC_RIGHTS_DELETE_SUBTREE, "[Delete Subtree]"},
- {SEC_RIGHTS_DELETE_CHILD, "[Delete All Child Objects]"},
+ {SEC_STD_DELETE, "[Delete]"},
+ {SEC_ADS_DELETE_TREE, "[Delete Subtree]"},
+ {SEC_ADS_DELETE_CHILD, "[Delete All Child Objects]"},
- {SEC_RIGHTS_CHANGE_PASSWD, "[Change Password]"},
- {SEC_RIGHTS_RESET_PASSWD, "[Reset Password]"},
+ {SEC_ADS_CONTROL_ACCESS, "[Change Password]"},
+ {SEC_ADS_CONTROL_ACCESS, "[Reset Password]"},
{0, 0}
};