requires Full Access to the printer to change security
information. */
if (!print_access_check(&user, snum, PRINTER_ACE_FULL_CONTROL)) {
- result = NT_STATUS_ACCESS_DENIED;
+ result = ERROR_ACCESS_DENIED;
goto done;
}
if (!print_access_check(NULL, snum, PRINTER_ACE_FULL_CONTROL)) {
DEBUG(3, ("printer property change denied by security "
"descriptor\n"));
- result = NT_STATUS_ACCESS_DENIED;
+ result = ERROR_ACCESS_DENIED;
goto done;
}
if (!print_access_check(NULL, snum, PRINTER_ACE_FULL_CONTROL)) {
DEBUG(3, ("security descriptor change denied by existing "
"security descriptor\n"));
- return NT_STATUS_ACCESS_DENIED;
+ return ERROR_ACCESS_DENIED;
}
status = get_a_printer(&printer, 2, lp_servicename(snum));