summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
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/rpc_parse
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/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_sec.c b/source3/rpc_parse/parse_sec.c
index 25450e0b19..4a7db6d7c2 100644
--- a/source3/rpc_parse/parse_sec.c
+++ b/source3/rpc_parse/parse_sec.c
@@ -411,7 +411,7 @@ void free_sec_desc(SEC_DESC **ppsd)
SEC_DESC *make_standard_sec_desc(DOM_SID *owner_sid, DOM_SID *grp_sid,
SEC_ACL *dacl, size_t *sd_size)
{
- return make_sec_desc(1, SEC_DESC_SELF_RELATIVE|SEC_DESC_DACL_PRESENT,
+ return make_sec_desc(SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE|SEC_DESC_DACL_PRESENT,
owner_sid, grp_sid, NULL, dacl, sd_size);
}