summaryrefslogtreecommitdiff
path: root/source3/services
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-09-20 11:24:36 +0200
committerMichael Adam <obnox@samba.org>2010-09-21 06:53:32 +0200
commit8be007dbb0c10a0755a87639eccabd7f5cdd05b3 (patch)
tree20aa53b6ee5b96f5feae5bfa7d3ff75c0cb69129 /source3/services
parent5fe2abb2f85afe2e8655257446c7dd03a08b2d57 (diff)
downloadsamba-8be007dbb0c10a0755a87639eccabd7f5cdd05b3.tar.gz
s3:services_db: remove bogus comments
(from copy and paste probably...)
Diffstat (limited to 'source3/services')
-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 4afbf615811..2807e7e05c7 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)) {