| Summary: | problem with smb printer names>13 letters in length | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Artem Astafyev <ace> |
| Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | wishlist | CC: | chaofeng111 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
This is indeed a limitation as long as the printer wizard uses smbclient, which was the only available tool when this code was written. Now samba includes a smbclient library that would allow to avoid this problem however this requires a rewrite of the code. I'll turn this into a wishlist item. Michael: don't bother, it won't work either. All windows versions I know give a big fat warning that older windows versions have a problem with share names (and a printer is nothing else) longer than 11 chars. The protocol these older windows versions (that include afaik <= 98 and samba afaik) speak just don't support more than this. samba4 will have working code that does this correctly. |
Version: (using KDE KDE 3.3.1) Installed from: Unlisted Binary Package OS: Linux Printmgr add printer wizard uses smbclient to find shared smb printers on the network. smbclient shows only 13 first letters of printer's name, so if I share printer Printer_TS0_2100, smbclient shows: Sharename Type Comment --------- ---- ------- NETLOGON Disk Logon server share ADMIN$ Disk Remote Admin IPC$ IPC Remote IPC Printer_TS0_2 Printer HP 2100 print$ Disk Printer Drivers Wizard thinks that printer name is Printer_TS0_2. So printer get installed, but when I'm trying to print to it I got error NT_STATUS_BAD_NAME. If I manually type in full name in printer URI - all works fine, windows clients had no problems.