summaryrefslogtreecommitdiff
path: root/source3/include/rpc_secdes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-08 00:17:05 +0000
committerJeremy Allison <jra@samba.org>2000-06-08 00:17:05 +0000
commitb2eef912cfaf768fd26b3b2acbcfc0be2951a197 (patch)
tree967334b6045c7f7766c5bdbf526ed0f3b275ffcc /source3/include/rpc_secdes.h
parent0164047afbd082b0003147845a72ca08b4781b81 (diff)
downloadsamba-b2eef912cfaf768fd26b3b2acbcfc0be2951a197.tar.gz
samba-b2eef912cfaf768fd26b3b2acbcfc0be2951a197.tar.bz2
samba-b2eef912cfaf768fd26b3b2acbcfc0be2951a197.zip
Cause printer SD's to be displayed correctly (full control).
Jeremy. (This used to be commit 341d07c516865bdd9be99f98cd0754d12b25f9c0)
Diffstat (limited to 'source3/include/rpc_secdes.h')
-rw-r--r--source3/include/rpc_secdes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h
index 9d54622758..d314d06d71 100644
--- a/source3/include/rpc_secdes.h
+++ b/source3/include/rpc_secdes.h
@@ -38,7 +38,6 @@
#define SEC_RIGHTS_FULL_CONTROL 0x000f003f
#define SEC_RIGHTS_MAXIMUM_ALLOWED 0x02000000
-
#define SEC_ACE_TYPE_ACCESS_ALLOWED 0x0
#define SEC_ACE_TYPE_ACCESS_DENIED 0x1
#define SEC_ACE_TYPE_SYSTEM_AUDIT 0x2
@@ -102,10 +101,12 @@ typedef struct security_ace_info
#define MAX_SEC_ACES 16
+#define ACL_REVISION 0x3
+
/* SEC_ACL */
typedef struct security_acl_info
{
- uint16 revision; /* 0x0002 */
+ uint16 revision; /* 0x0003 */
uint16 size; /* size in bytes of the entire ACL structure */
uint32 num_aces; /* number of Access Control Entries */
@@ -113,6 +114,7 @@ typedef struct security_acl_info
} SEC_ACL;
+#define SEC_DESC_REVISION 0x1
/* SEC_DESC */
typedef struct security_descriptor_info