Without this, all security descriptor checks for the winreg spoolss backend fail
and make our spoolss system in its current shape basically unusable.
Andreas, please check.
Guenther
(*server_info)->system = true;
+ status = add_sid_to_array_unique((*server_info)->ptok->sids,
+ &global_sid_System,
+ &(*server_info)->ptok->sids,
+ &(*server_info)->ptok->num_sids);
+ if (!NT_STATUS_IS_OK(status)) {
+ TALLOC_FREE((*server_info));
+ return status;
+ }
+
return NT_STATUS_OK;
}