[Samba] Problems printing with samba 3.5.2

Luca Olivetti luca at wetron.es
Mon May 10 12:22:46 MDT 2010


Ok, I finally deployed samba 3.5.2 (upgrading from 3.0.11) on the real server after testing for a while in virtualbox.
There's a strange problem with printing: sometimes an application gives an error printing (of course the error message is meaningless, this is windows after all) and/or the job gets lost in transit.
After that stopping and restarting the local print spool service solves the problem for a while.
This happened on a couple of xp clients but I fear tomorrow I'll see more of those :-( so I'll have the chance to capture more detailed logs.

I see these messages in /var/log/messages, don't know if they're related to the problem at hand (I oubt it):

May 10 19:37:58 hp smbd[29548]: [2010/05/10 19:37:58.484471,  0] lib/charcnv.c:650(convert_string_talloc)
May 10 19:37:58 hp smbd[29548]:   Conversion error: Illegal multibyte sequence(Comparaci�n ofertas WETRON)
May 10 19:37:58 hp smbd[29548]: [2010/05/10 19:37:58.484667,  0] rpc_server/srv_pipe.c:2438(api_rpcTNP)
May 10 19:37:58 hp smbd[29548]:   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
May 10 19:37:58 hp smbd[29548]: [2010/05/10 19:37:58.493588,  0] lib/charcnv.c:650(convert_string_talloc)
May 10 19:37:58 hp smbd[29548]:   Conversion error: Illegal multibyte sequence(Comparaci�n ofertas WETRON)
May 10 19:37:58 hp smbd[29548]: [2010/05/10 19:37:58.493749,  0] rpc_server/srv_pipe.c:2438(api_rpcTNP)
May 10 19:37:58 hp smbd[29548]:   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTER failed.
May 10 19:37:58 hp smbd[29548]: [2010/05/10 19:37:58.505237,  0] rpc_server/srv_pipe_hnd.c:274(unmarshall_rpc_header)
May 10 19:37:58 hp smbd[29548]:   unmarshall_rpc_header: FIRST flag not set in first PDU !
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.635198,  0] rpc_server/srv_pipe_hnd.c:274(unmarshall_rpc_header)
May 10 19:37:59 hp smbd[29548]:   unmarshall_rpc_header: FIRST flag not set in first PDU !
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.637332,  0] lib/charcnv.c:650(convert_string_talloc)
May 10 19:37:59 hp smbd[29548]:   Conversion error: Illegal multibyte sequence(Comparaci�n ofertas WETRON)
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.637400,  0] rpc_server/srv_pipe.c:2438(api_rpcTNP)
May 10 19:37:59 hp smbd[29548]:   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.643967,  0] rpc_server/srv_pipe_hnd.c:274(unmarshall_rpc_header)
May 10 19:37:59 hp smbd[29548]:   unmarshall_rpc_header: FIRST flag not set in first PDU !
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.646915,  0] lib/charcnv.c:650(convert_string_talloc)
May 10 19:37:59 hp smbd[29548]:   Conversion error: Illegal multibyte sequence(Comparaci�n ofertas WETRON)
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.647007,  0] rpc_server/srv_pipe.c:2438(api_rpcTNP)
May 10 19:37:59 hp smbd[29548]:   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.647285,  0] lib/charcnv.c:650(convert_string_talloc)
May 10 19:37:59 hp smbd[29548]:   Conversion error: Illegal multibyte sequence(Comparaci�n ofertas WETRON)
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.647363,  0] rpc_server/srv_pipe.c:2438(api_rpcTNP)
May 10 19:37:59 hp smbd[29548]:   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.654168,  0] lib/charcnv.c:650(convert_string_talloc)
May 10 19:37:59 hp smbd[29548]:   Conversion error: Illegal multibyte sequence(Comparaci�n ofertas WETRON)
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.654304,  0] rpc_server/srv_pipe.c:2438(api_rpcTNP)
May 10 19:37:59 hp smbd[29548]:   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTER failed.
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.654520,  0] lib/charcnv.c:650(convert_string_talloc)
May 10 19:37:59 hp smbd[29548]:   Conversion error: Illegal multibyte sequence(Comparaci�n ofertas WETRON)
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.654605,  0] rpc_server/srv_pipe.c:2438(api_rpcTNP)
May 10 19:37:59 hp smbd[29548]:   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTER failed.
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.656923,  0] rpc_server/srv_pipe_hnd.c:274(unmarshall_rpc_header)
May 10 19:37:59 hp smbd[29548]:   unmarshall_rpc_header: FIRST flag not set in first PDU !
May 10 19:37:59 hp smbd[29548]: [2010/05/10 19:37:59.660144,  0] rpc_server/srv_pipe_hnd.c:274(unmarshall_rpc_header)
May 10 19:37:59 hp smbd[29548]:   unmarshall_rpc_header: FIRST flag not set in first PDU !

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007



More information about the samba mailing list