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) {
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)) {