Bug 28519 - smbclient auf Freigabe mit path = /var/spool/cups-pdf/%U klappt nicht wenn Benutzername Großbuchstaben enthält
smbclient auf Freigabe mit path = /var/spool/cups-pdf/%U klappt nicht wenn Be...
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Samba
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Tobias Peters
Arvid Requate
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-14 13:18 CEST by Felix Botner
Modified: 2013-11-19 06:42 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2012-09-14 13:18:52 CEST
/etc/samba/shares.conf.d/pdfPrinterShare:
[pdfPrinterShare]
path = /var/spool/cups-pdf/%U
vfs objects = acl_xattr
msdfs root = no
writeable = yes
browseable = yes

-> ls /var/spool/cups-pdf/
Administrator  ANONYMOUS  SPOOL  test1


# klappt
-> smbclient  //10.200.7.120/pdfPrinterShare -U test1

# klappt nicht
-> smbclient  //10.200.7.120/pdfPrinterShare -U Administrator
Enter Administrator's password: 
Domain=[SS] OS=[Unix] Server=[Samba 3.6.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

/var/log/samba/log.smbd:
[2012/09/14 01:02:30.533584,  0] smbd/service.c:1055(make_connection_snum)
  canonicalize_connect_path failed for service pdfPrinterShare, path /var/spool/cups-pdf/administrator
Comment 1 Stefan Gohmann univentionstaff 2012-09-14 13:33:47 CEST
Ggf. sollten wir das noch zur 3.1 prüfen.
Comment 2 Tobias Peters univentionstaff 2013-04-29 15:24:10 CEST
Nach dem Drucken mit folgendenden Befehlen
smbclient //localhost/pdf-drucker -U Administrator -c "print /etc/hosts"
smbclient //localhost/pdf-drucker -U testuser -c "print /etc/hosts"

sieht das Verzeichnis wie folgt aus:

root@master:/# ls /var/spool/cups-pdf
administrator  ANONYMOUS  SPOOL  testuser

Der Ordner für den jeweiligen Benutzer wird als komplett in Kleinbuchstaben angelegt. Deshalb klappt nun auch der Zugriff auf einen Share mit 
[pdf]
path = /var/spool/cups-pdf/%U

#klappt
smbclient //localhost/pdf -U testuser

#klappt
smbclient //localhost/pdf -U Administrator
Comment 3 Moritz Muehlenhoff univentionstaff 2013-05-31 10:45:26 CEST
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2.

As such, this bug is moved to the new target milestone.
Comment 4 Stefan Gohmann univentionstaff 2013-11-19 06:42:45 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".