summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/services/services_db.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/services/services_db.c b/source3/services/services_db.c
index 4afbf61581..2807e7e05c 100644
--- a/source3/services/services_db.c
+++ b/source3/services/services_db.c
@@ -576,8 +576,6 @@ bool svcctl_set_secdesc(const char *name, struct security_descriptor *sec_desc,
bool ret = false;
TALLOC_CTX *mem_ctx = talloc_stackframe();
- /* now add the security descriptor */
-
path = talloc_asprintf(mem_ctx, "%s\\%s\\%s", KEY_SERVICES, name,
"Security");
if (path == NULL) {
@@ -592,8 +590,6 @@ bool svcctl_set_secdesc(const char *name, struct security_descriptor *sec_desc,
goto done;
}
- /* stream the printer security descriptor */
-
status = marshall_sec_desc(mem_ctx, sec_desc, &value.data.data,
&value.data.length);
if (!NT_STATUS_IS_OK(status)) {