[Samba] Samba Printing api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed

Claus Rosenberger claus.rosenberger at rocnet.de
Wed Sep 14 06:02:58 MDT 2011


Thats really annoying because the printing with samba is not possible, just printing directly to cups is possible. The clients are working with UTF-8, the server is working with UTF-8, don't know why character conversion should be a problem here.

More details:

[2011/09/14 13:55:24.173846,  5] rpc_server/srv_pipe.c:2367(api_pipe_request)
  Requested \PIPE\\spoolss
[2011/09/14 13:55:24.173878,  4] rpc_server/srv_pipe.c:2404(api_rpcTNP)
  api_rpcTNP: \spoolss op 0x45 - api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX
[2011/09/14 13:55:24.173912,  6] rpc_server/srv_pipe.c:2434(api_rpcTNP)
  api_rpc_cmds[69].fn == 0x7f844834b140
[2011/09/14 13:55:24.173953,  3] lib/charcnv.c:644(convert_string_talloc)
  convert_string_talloc: Conversion error: Illegal multibyte sequence(<B3>ۍ<8A><8A><8A><F8><9C>^G)
[2011/09/14 13:55:24.173986,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte sequence(<B3>ۍ<8A><8A><8A><F8><9C>^G)
[2011/09/14 13:55:24.174017,  1] ../librpc/ndr/ndr.c:395(ndr_pull_error)
  ndr_pull_error(5): Bad character conversion
[2011/09/14 13:55:24.174064,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 13:55:24.174099,  3] rpc_server/srv_pipe_hnd.c:344(free_pipe_context)
  free_pipe_context: destroying talloc pool of size 0
[2011/09/14 13:55:24.174130,  3] rpc_server/srv_pipe_hnd.c:656(process_complete_pdu)
  process_complete_pdu: DCE/RPC fault sent on pipe \spoolss
[2011/09/14 13:55:24.174161, 10] rpc_server/srv_pipe_hnd.c:180(set_incoming_fault)
  set_incoming_fault: Setting fault state on pipe \spoolss
[2011/09/14 13:55:24.174193,  5] rpc_parse/parse_prs.c:89(prs_debug)
  000000 smb_io_rpc_hdr 
      0000 major     : 05
      0001 minor     : 00
      0002 pkt_type  : 03
      0003 flags     : 23
      0004 pack_type0: 10
      0005 pack_type1: 00
      0006 pack_type2: 00
      0007 pack_type3: 00
      0008 frag_len  : 0020
      000a auth_len  : 0000
      000c call_id   : 0000796c
[2011/09/14 13:55:24.174346,  5] rpc_parse/parse_prs.c:89(prs_debug)
  000010 smb_io_rpc_hdr_resp resp
      0010 alloc_hint: 00000000
      0014 context_id: 0000
      0016 cancel_ct : 00
      0017 reserved  : 00
[2011/09/14 13:55:24.174431,  5] rpc_parse/parse_prs.c:89(prs_debug)
  000018 smb_io_rpc_hdr_fault fault
      0018 status  : DCERPC_FAULT_OP_RNG_ERROR
      001c reserved: 00000000
[2011/09/14 13:55:24.174487, 10] rpc_server/srv_pipe_hnd.c:776(write_to_internal_pipe)
  write_to_pipe: data_used = 2670
[2011/09/14 13:55:24.174538,  6] rpc_server/srv_pipe_hnd.c:813(read_from_internal_pipe)
   name: \spoolss len: 1024
[2011/09/14 13:55:24.174573, 10] rpc_server/srv_pipe_hnd.c:854(read_from_internal_pipe)
  read_from_pipe: \spoolss: current_pdu_len = 32, current_pdu_sent = 0 returning 32 bytes.

Am 19.08.2011 11:49:27, schrieb Claus Rosenberger:
> After connecting the same printers directly to cups using the same
> 
drivers the printouts are available without any problems. So probably
> 
some conversion inside of samba will cancel the printjobs.
> 
> 
Am 11.08.2011 11:32, schrieb Claus Rosenberger:
> 
> Hello,
> 
>
> 
> after upgrading to samba 3.5.6 of Debian Squeeze some printouts will not printed. The same prinjob will printed after a couple of tries. I increased the loglevel and there are only a few messages which showing whtat could be the problem. The printjobs doesn't arrive at cups.
> 
>
> 
> [2011/08/10 11:32:12.700665,  0] lib/charcnv.c:650(convert_string_talloc)  Conversion error: Illegal multibyte sequence(<E8><DE>^A^H <8C>^R      )
> 
> [2011/08/10 11:32:12.700720,  1] ../librpc/ndr/ndr.c:395(ndr_pull_error)  ndr_pull_error(5): Bad character conversion
> 
> [2011/08/10 11:32:12.700756,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
> 
> [2011/08/10 11:32:13.901183,  0] lib/charcnv.c:650(convert_string_talloc)  Conversion error: Illegal multibyte sequence(<E8><DE>^A^H <8C>^R      )
> 
> [2011/08/10 11:32:13.924149,  1] ../librpc/ndr/ndr.c:395(ndr_pull_error)  ndr_pull_error(5): Bad character conversion
> 
> [2011/08/10 11:32:13.924206,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
> 
>
> 
> The printer is a Konica Minolta bizhup 40P, which is installed on client with Point and Print and the newest ppd files from Konica Minolta.
> 
>
> 
> What could be the problem?
> 
>
> 
> Thank you
> 
> Claus
> 
>
> 
> 
-- 
> 
To unsubscribe from this list go to the following URL and read the
> 
instructions:  > https://lists.samba.org/mailman/options/samba






More information about the samba mailing list