diff options
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r-- | source3/printing/nt_printing.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 9e4f1c2fd5..a7ca487d00 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -2314,9 +2314,11 @@ BOOL print_access_check(struct current_user *user, int snum, int access_type) break; case JOB_ACCESS_ADMINISTER: required_access = PRINTER_ACE_MANAGE_DOCUMENTS; + break; default: DEBUG(0, ("invalid value passed to print_access_check()\n")); - return False; + result = False; + goto done; } /* The ACE for Full Control in a printer security descriptor |