git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fe2abb
)
s3:services_db: remove bogus comments
author
Michael Adam
<obnox@samba.org>
Mon, 20 Sep 2010 09:24:36 +0000
(11:24 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 21 Sep 2010 04:53:32 +0000
(06:53 +0200)
(from copy and paste probably...)
source3/services/services_db.c
patch
|
blob
|
history
diff --git
a/source3/services/services_db.c
b/source3/services/services_db.c
index 4afbf61581161cc6927f66b7cd251876cd3238e0..2807e7e05c7a60ed2f4a86bf028a87427c136620 100644
(file)
--- 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)) {