summaryrefslogtreecommitdiff
path: root/source3/libads/disp_sec.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-05-11 12:59:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:58 -0500
commit46c5da2fd668ceecf0009374b508f3cf0d1c3e3e (patch)
tree573474000cb8247c1ebc5483127d7976550d3928 /source3/libads/disp_sec.c
parent9c170fce2632e76bda6bb9a644777c978785cff1 (diff)
downloadsamba-46c5da2fd668ceecf0009374b508f3cf0d1c3e3e.tar.gz
samba-46c5da2fd668ceecf0009374b508f3cf0d1c3e3e.tar.bz2
samba-46c5da2fd668ceecf0009374b508f3cf0d1c3e3e.zip
r22798: Add the "apply group policy" access bit (as seen in type 0x05 ALLOWED OBJECT
ACEs). Guenther (This used to be commit e138cbc876e50ae25cb15c5109a42bc8b800c1ba)
Diffstat (limited to 'source3/libads/disp_sec.c')
-rw-r--r--source3/libads/disp_sec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/libads/disp_sec.c b/source3/libads/disp_sec.c
index a768ba08f3..1e62eb8551 100644
--- a/source3/libads/disp_sec.c
+++ b/source3/libads/disp_sec.c
@@ -46,6 +46,9 @@ static struct perm_mask_str {
{SEC_RIGHTS_CHANGE_PASSWD, "[Change Password]"},
{SEC_RIGHTS_RESET_PASSWD, "[Reset Password]"},
+
+ {SEC_RIGHTS_APPLY_GROUP_POLICY, "[Apply Group Policy]"},
+
{0, 0}
};
@@ -66,7 +69,7 @@ static void ads_disp_perms(uint32 type)
if (type & (1 << i)) {
for (j = 1; perms[j].str; j ++) {
if (perms[j].mask == (((unsigned) 1) << i)) {
- printf("\n\t%s", perms[j].str);
+ printf("\n\t%s (0x%08x)", perms[j].str, perms[j].mask);
}
}
type &= ~(1 << i);