diff options
author | Tim Potter <tpot@samba.org> | 2000-10-18 06:31:14 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-10-18 06:31:14 +0000 |
commit | 7b0a62c8cd9523df86f1d9aee3e3700f494a8e78 (patch) | |
tree | eff7705de9489490b2503127bec7fc03bd623268 /source3 | |
parent | ecd90a0bf45d560b4532fe7ce04332b53947fbdc (diff) | |
download | samba-7b0a62c8cd9523df86f1d9aee3e3700f494a8e78.tar.gz samba-7b0a62c8cd9523df86f1d9aee3e3700f494a8e78.tar.bz2 samba-7b0a62c8cd9523df86f1d9aee3e3700f494a8e78.zip |
Removed null user checks to enable lanman print queue pausing and print job
deleting.
(This used to be commit e40a0e2f52326199264d622c4f11877f20e4ebce)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/printing.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index d856023567..c691573c0a 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -518,8 +518,6 @@ BOOL print_job_delete(struct current_user *user, int jobid) int snum = print_job_snum(jobid); BOOL owner; - if (!user) return False; - owner = is_owner(user, jobid); /* Check access against security descriptor or whether the user @@ -999,8 +997,6 @@ BOOL print_queue_pause(struct current_user *user, int snum, int *errcode) { int ret; - if (!user) return False; - if (!print_access_check(user, snum, PRINTER_ACCESS_ADMINISTER)) { *errcode = ERROR_ACCESS_DENIED; return False; |