The Samba-Bugzilla – Bug 12182
SPOOLSS_ENUMPRINTERS fails with certain printer names
Last modified: 2016-08-29 03:42:15 UTC
I already reported this issue a while ago at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822574
The issue is still present in current Samba 4.4.5.
I am experiencing problems with RPC printer management
(SPOOLSS_ENUMPRINTERS ) with certain printer names.
It looks like the problem is caused if the printer name contains an
umlaut (non-ASCII character) as the 23rd character.
causes problems, while
work(*). I tried dozens other examples that lead me to track down and
limit the problem as described above.
The problem is observed while using setdriver on the mentioned printer
with rpcclient or acessing the "Remote Printers" view on Windows 7 - the
window is blank then and no printers are displayed at all.
From the logs:
Apr 25 14:10:26 iserv smbd: ndr_push_error(5): Bad character
Apr 25 14:10:26 iserv smbd: ndr_push_error(11): SPOOLSS Buffer:
*r->out.info but there's no r->in.buffer
Apr 25 14:10:26 iserv smbd: api_rpcTNP: spoolss:
(*) They do not really work, I reported this as #822571 since I do not
think that these issues are related.