[Pkg-samba-maint] Bug#822574: SPOOLSS_ENUMPRINTERS fails with certain printer names

Mario Lipinski mario.lipinski at iserv.eu
Mon Apr 25 13:49:35 UTC 2016


Package: samba

Dear Samba maintainers,

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.

Thus

aaaaaaaaaaaaaaaaaaaaaaä

causes problems, while

aaaaaaaaaaaaaaaaaaaaaä and
aaaaaaaaaaaaaaaaaaaaaaaä

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[12856]: ndr_push_error(5): Bad character 
conversion
Apr 25 14:10:26 iserv smbd[12856]: ndr_push_error(11): SPOOLSS Buffer: 
*r->out.info but there's no r->in.buffer
Apr 25 14:10:26 iserv smbd[12856]: api_rpcTNP: spoolss: 
SPOOLSS_ENUMPRINTERS failed.

(*) They do not really work, I reported this as #822571 since I do not 
think that these issues are related.

-- 
Mit freundlichen Grüßen,
Mario Lipinski

IServ GmbH
Bültenweg 73
38106 Braunschweig

Telefon:   0531-2243666-0
Fax:       0531-2243666-9
E-Mail:    info at iserv.eu
Internet:  iserv.eu

USt-IdNr. DE265149425 | Amtsgericht Braunschweig | HRB 201822
Geschäftsführer: Benjamin Heindl, Jörg Ludwig



More information about the Pkg-samba-maint mailing list