summaryrefslogtreecommitdiff
path: root/source3/libgpo
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-18 12:52:18 +0200
committerGünther Deschner <gd@samba.org>2010-05-18 12:52:18 +0200
commitd4474ba470a70ce0476156a9399193ec024bb455 (patch)
treeb7ae06c344087d331edee03e823969b30dc62678 /source3/libgpo
parenta531537341d874ed2bfa7058ec45417e856bed4e (diff)
downloadsamba-d4474ba470a70ce0476156a9399193ec024bb455.tar.gz
samba-d4474ba470a70ce0476156a9399193ec024bb455.tar.bz2
samba-d4474ba470a70ce0476156a9399193ec024bb455.zip
s3-secdesc: use SD_REVISION from security.idl.
Guenther
Diffstat (limited to 'source3/libgpo')
-rw-r--r--source3/libgpo/gpo_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libgpo/gpo_reg.c b/source3/libgpo/gpo_reg.c
index b628748769..b764eaffab 100644
--- a/source3/libgpo/gpo_reg.c
+++ b/source3/libgpo/gpo_reg.c
@@ -741,7 +741,7 @@ static WERROR gp_reg_generate_sd(TALLOC_CTX *mem_ctx,
theacl = make_sec_acl(mem_ctx, NT4_ACL_REVISION, 6, ace);
W_ERROR_HAVE_NO_MEMORY(theacl);
- *sd = make_sec_desc(mem_ctx, SEC_DESC_REVISION,
+ *sd = make_sec_desc(mem_ctx, SD_REVISION,
SEC_DESC_SELF_RELATIVE |
SEC_DESC_DACL_AUTO_INHERITED | /* really ? */
SEC_DESC_DACL_AUTO_INHERIT_REQ, /* really ? */