summaryrefslogtreecommitdiff
path: root/source3/services
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-20 22:27:01 +0100
committerVolker Lendecke <vl@samba.org>2007-12-21 09:58:21 +0100
commit99b86e4a266b99634f6a65015f6df115c421d3e5 (patch)
tree80d4826f844551ec2b3be8a84b896a8ed3acc203 /source3/services
parentaddf598cde41d17ad4cf497a64b9a2b27e4028c5 (diff)
downloadsamba-99b86e4a266b99634f6a65015f6df115c421d3e5.tar.gz
samba-99b86e4a266b99634f6a65015f6df115c421d3e5.tar.bz2
samba-99b86e4a266b99634f6a65015f6df115c421d3e5.zip
Some C++ fixes
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
Diffstat (limited to 'source3/services')
-rw-r--r--source3/services/services_db.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/services/services_db.c b/source3/services/services_db.c
index c57b29cc80..b1daae4df8 100644
--- a/source3/services/services_db.c
+++ b/source3/services/services_db.c
@@ -112,7 +112,9 @@ static SEC_DESC* construct_service_sd( TALLOC_CTX *ctx )
if ( !(acl = make_sec_acl(ctx, NT4_ACL_REVISION, i, ace)) )
return NULL;
- if ( !(sd = make_sec_desc(ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE, NULL, NULL, NULL, acl, &sd_size)) )
+ if ( !(sd = make_sec_desc(ctx, SECURITY_DESCRIPTOR_REVISION_1,
+ SEC_DESC_SELF_RELATIVE, NULL, NULL, NULL,
+ acl, &sd_size)) )
return NULL;
return sd;