Univention Bugzilla – Bug 34934
printjobs not displayed for students with differing lower/uppercase
Last modified: 2015-05-11 19:24:57 CEST
printjobs of students which have differences in their lower/uppercase username aren't displayed in the printermoderation module.
The directory for the pdfPrinterShare is not created in an unified way:
There exists /var/spool/cups-pdf/Anton1 and /var/spool/cups-pdf/anton1. Sometimes you also can't access the pdfPrinterShare (error message on UCC says directory doesn't exists, on windows you don't have permissions).
Happened again during a UCS@school Workshop. 4 out 5 attendees were affected.
~# ucr search --brief ^version
Does it depend on how the username is spelled on the windows logon?
(In reply to Sönke Schwardt-Krummrich from comment #3)
> Does it depend on how the username is spelled on the windows logon?
Not sure about the windows logon itself (windows login should be case insensitive regarding the username), but it is dependant on the spelling of the username/uid when creating the user.
A bit more information on the setup today:
- Multi-Server environment
- all affected users had mixed case or all upper case usernames
- the /var/spool/cups-pdf/username directory was lower case every time
How to reproduce:
- configure the PDF printer share according to the manual (see also #32208)
- create a user with mixed case username, e.g. "MRobot", via the "Users (schools)" module
- login to a windows client with this user
- connect the PDF printer (I used "MS Publisher Color Printer" as driver as suggested in #38114)
- print a file to the PDF printer
- the print job won't show up in the "moderate printers" module
- Nevertheless, the PDF file is generated:
> root@dcschule01:~# ls -la /var/spool/cups-pdf/mrobot/
> insgesamt 20
> drwx------ 2 MRobot Domain Users GrundschuledieErste 4096 Apr 2 22:00 .
> drwxr-xr-x 8 root root 4096 Apr 2 22:00 ..
> -rw------- 1 MRobot Domain Users GrundschuledieErste 8300 Apr 2 22:00 job_3-Neues_Textdokument_-_Editor__non-Linux-generated_files.pdf
Please note the difference between lower case "mrobot" in the directory path and the mixed case "MRobot" as file owner.
> ~# mv /var/spool/cups-pdf/mrobot/ /var/spool/cups-pdf/MRobot/
makes the print job appear in the "moderate printers" module.
(In reply to Michael Grandjean from comment #4)
> - the /var/spool/cups-pdf/username directory was lower case every time
> A simple
> > ~# mv /var/spool/cups-pdf/mrobot/ /var/spool/cups-pdf/MRobot/
> makes the print job appear in the "moderate printers" module.
Ok, then it should be easy to fix. The UMC module has to scan for lowercase directory names.
Please fix this issue for UCS@school 4.0 R2 first. I will clone this bug for
The username is now lower-cased when searching for the directories.
Fix: svn r59828
OK - debian changelog
OK - xml changelog
OK - The username is now lower-cased when searching for the directories
UCS@school 4.0 R2 v1 has been released:
If this error occurs again, please use "Clone This Bug".