Yes, I know. Print queues sucks in Mac OS X Server, but I am not supposed to tell that to a big Apple customer – am I?
With that said let’s get down to business.
A sys admin complained to me that he had a working print system (queues with print quota) in 10.3, but they broke in 10.4. I had no idea, so made a quick test this evening on a 10.4.3 server.
After some failing initial tries to get print quotas working I made a more organized test:
First I deleted /Library/Preferences/com.apple.printservicequotastats.plist and /Library/Preferences/com.apple.printservice.plist to have a clean setup.
Then I made a queue called “testq” with enforced quotas. Made a user called “a” with print quota 5 pages per 1 day (“5-1”).
Checked “PrintServerUserData” for “a”. Looked OK. So did the printservice.plist.
Logged in as user “a” on a client and printed 1 page. Looked at printservicequotastats.plist. It had been created and had info that 1 page had been printed to “testq”.
/var/log/cups/error_log had an entry: Job 28 queued on ‘testq’ by ‘a’
Printed one more page. /var/log/cups/error_log said: User “a” is over the quota limit for printer testq (testq). Nothing else was changed.
Restarting the print quota resulted in another “User “a” is over the quota limit for printer testq (testq)”
Changing from “5-1” to “Unlimited printing” for testq resulted in “User “a” request approved for printer testq (testq): unlimited quota.” (….) “Job 29 queued on ‘testq’ by ‘a’.”
Changing back to “5-1” setting gave another “User “a” is over the quota limit for printer testq (testq)”
One thing that stroke me is that I never got any “User “a” request approved …” when limited quota was enabled.
Anybody who have an idea what’s wrong? Is the quota system even more f**d up in 10.4 than before?
Tycho
Update Dec 11
Got confirmation from Apple that this is a known bug
Comments are closed