summaryrefslogtreecommitdiff
path: root/source/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
commit5c392c4c6e277a24d0d477902dc7856b2b46ee53 (patch)
tree189a8cee1f06ce0b9c77acb56c71e63afbe13aae /source/services
parent5ab82d4f574f2a2e2761e9e414c66a70aeffb05d (diff)
downloadsamba-5c392c4c6e277a24d0d477902dc7856b2b46ee53.tar.gz
Some C++ fixes
Diffstat (limited to 'source/services')
-rw-r--r--source/services/services_db.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/services/services_db.c b/source/services/services_db.c
index c57b29cc806..b1daae4df8c 100644
--- a/source/services/services_db.c
+++ b/source/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;