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

2011-10-05 Thread Achim Gottinger
Last week i backported weezys 3.5.11 samba package to lenny and I still 
go these random errors. I went back to lenny version 3.2.5 and since 
then printing works fine. Guess that sorts out network related issues. 
Will monitor printing for an few more days and then try an samba version 
which supports win7 clients.


achim~


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2011-09-26 Thread Claus Rosenberger

Same problem here, with the crystal report software too. I tried UTF-8 and 
UTF8, it makes no difference.
Am 16.09.2011 12:02:32, schrieb Achim Gottinger:
 After an day without issues i just received an phone call about an 
 
printing issue and i found a few illegal multibyte sequence errors in 
 
the log file again.
 
Unfortunately i can not reproduce the situation where this error occured 
 
an second try to print that document out of the archive worked but since 
 
it's an crystal report form generated out of an database from our 
 
business software something may be different when printing from the 
 
archive. Hope i'll get an reproducible situation so i can grab an 
 
wireshark trace and more detailed samba log info's.
 
 
achim~
 
 
Am 15.09.2011 17:01, schrieb Achim Gottinger:
 
 Update:
 
 Checked logs of all my debian print servers and none had these error 
 
 messages today, i guess i had forgotten to restart samba on that 
 
 server whom still showed the error. I had also found that erroro 
 
 message on a few other servers with an missing unix charset line whom 
 
 i all moodified and restarted. (There is still a chance that they did 
 
 not print anything which triggered that error.)
 

 
 Here is an bug report for that problem, that's where i found that unix 
 
 charset fix.
 
  https://bugzilla.samba.org/show_bug.cgi?id=8082
 

 
 Checked the default if that variable is not explicity declared in 
 
 smb.conf with terstparam -v and it is
 

 
 unix charset = UTF-8
 
 display charset = LOCALE
 

 
 Seems debian has an problem with UTF-8 but not with UTF8. =-O
 

 
 These are my locale settings
 
 #locale
 
 LANG=de_DE.UTF-8
 
 LC_CTYPE=de_DE.UTF-8
 
 LC_NUMERIC=de_DE.UTF-8
 
 LC_TIME=de_DE.UTF-8
 
 LC_COLLATE=de_DE.UTF-8
 
 LC_MONETARY=de_DE.UTF-8
 
 LC_MESSAGES=de_DE.UTF-8
 
 LC_PAPER=de_DE.UTF-8
 
 LC_NAME=de_DE.UTF-8
 
 LC_ADDRESS=de_DE.UTF-8
 
 LC_TELEPHONE=de_DE.UTF-8
 
 LC_MEASUREMENT=de_DE.UTF-8
 
 LC_IDENTIFICATION=de_DE.UTF-8
 
 LC_ALL=
 

 

 

 
  https://bugzilla.samba.org/show_bug.cgi?id=8082
 
 Am 15.09.2011 01:04, schrieb Achim Gottinger:
 
 It is odd here also, on one server (debian lenny with samba 3.5.6 
 
 from backports) using
 

 
 dos charset = 850
 
 unix charset = UTF8
 

 
 fixed that issue on an other server (same osand versions) i also had 
 
 to add the unix charset line and it worked for an document which did 
 
 not work without and generated an error log entry like yours. looking 
 
 at the log file i still see a few of those SPOOLSS error messages. 
 
 Users did not report problems but i have to ask em if they have had 
 
 issues with printing this week.
 
 If the error occures there is no print job generated at the cups 
 
 server at all and errors like those above appear in log.smbd
 

 
 [2011/09/14 16:09:28.780842,  0] 
 
 lib/charcnv.c:650(convert_string_talloc)
 
   Conversion error: Illegal multibyte sequence(@DD^W^THDD^X^T^A^D)
 
 [2011/09/14 16:09:28.780969,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
 
   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
 
 [2011/09/14 16:09:29.001633,  0] 
 
 lib/charcnv.c:650(convert_string_talloc)
 
   Conversion error: Illegal multibyte sequence(@DD^W^THDD^X^T^A^D)
 
 [2011/09/14 16:09:29.001724,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
 
   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
 
 [2011/09/14 16:20:05.843419,  0] 
 
 lib/charcnv.c:650(convert_string_talloc)
 
   Conversion error: Illegal multibyte 
 
 sequence(88DF^H^NE09F^T^T`D9^K^T)
 
 [2011/09/14 16:20:05.843511,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
 
   api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
 
 [2011/09/14 16:20:06.107415,  0] 
 
 lib/charcnv.c:650(convert_string_talloc)
 
   Conversion error: Illegal multibyte 
 
 sequence(88DF^H^NE09F^T^T`D9^K^T)
 
 [2011/09/14 16:20:06.107788,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
 

 

 
 achim~
 

 




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2011-09-26 Thread Achim Gottinger

Am 26.09.2011 09:52, schrieb Claus Rosenberger:

Same problem here, with the crystal report software too. I tried UTF-8 and 
UTF8, it makes no difference.
Am 16.09.2011 12:02:32, schrieb Achim Gottinger:

Was tricked by randomness here, it does not make a difference here also 
and i'm still getting those errors. At least i captured and uploaded 
detailed log's of that weird error to the bug report, hope an developer 
will take an look next week after this microsoft ad event is over.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2011-09-16 Thread Achim Gottinger
After an day without issues i just received an phone call about an 
printing issue and i found a few illegal multibyte sequence errors in 
the log file again.
Unfortunately i can not reproduce the situation where this error occured 
an second try to print that document out of the archive worked but since 
it's an crystal report form generated out of an database from our 
business software something may be different when printing from the 
archive. Hope i'll get an reproducible situation so i can grab an 
wireshark trace and more detailed samba log info's.


achim~

Am 15.09.2011 17:01, schrieb Achim Gottinger:

Update:
Checked logs of all my debian print servers and none had these error 
messages today, i guess i had forgotten to restart samba on that 
server whom still showed the error. I had also found that erroro 
message on a few other servers with an missing unix charset line whom 
i all moodified and restarted. (There is still a chance that they did 
not print anything which triggered that error.)


Here is an bug report for that problem, that's where i found that unix 
charset fix.

https://bugzilla.samba.org/show_bug.cgi?id=8082

Checked the default if that variable is not explicity declared in 
smb.conf with terstparam -v and it is


unix charset = UTF-8
display charset = LOCALE

Seems debian has an problem with UTF-8 but not with UTF8. =-O

These are my locale settings
#locale
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=



https://bugzilla.samba.org/show_bug.cgi?id=8082
Am 15.09.2011 01:04, schrieb Achim Gottinger:
It is odd here also, on one server (debian lenny with samba 3.5.6 
from backports) using


dos charset = 850
unix charset = UTF8

fixed that issue on an other server (same osand versions) i also had 
to add the unix charset line and it worked for an document which did 
not work without and generated an error log entry like yours. looking 
at the log file i still see a few of those SPOOLSS error messages. 
Users did not report problems but i have to ask em if they have had 
issues with printing this week.
If the error occures there is no print job generated at the cups 
server at all and errors like those above appear in log.smbd


[2011/09/14 16:09:28.780842,  0] 
lib/charcnv.c:650(convert_string_talloc)

  Conversion error: Illegal multibyte sequence(@DD^W^THDD^X^T^A^D)
[2011/09/14 16:09:28.780969,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 16:09:29.001633,  0] 
lib/charcnv.c:650(convert_string_talloc)

  Conversion error: Illegal multibyte sequence(@DD^W^THDD^X^T^A^D)
[2011/09/14 16:09:29.001724,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 16:20:05.843419,  0] 
lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte 
sequence(88DF^H^NE09F^T^T`D9^K^T)

[2011/09/14 16:20:05.843511,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 16:20:06.107415,  0] 
lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte 
sequence(88DF^H^NE09F^T^T`D9^K^T)

[2011/09/14 16:20:06.107788,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)


achim~




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2011-09-15 Thread Achim Gottinger

Update:
Checked logs of all my debian print servers and none had these error 
messages today, i guess i had forgotten to restart samba on that server 
whom still showed the error. I had also found that erroro message on a 
few other servers with an missing unix charset line whom i all moodified 
and restarted. (There is still a chance that they did not print anything 
which triggered that error.)


Here is an bug report for that problem, that's where i found that unix 
charset fix.

https://bugzilla.samba.org/show_bug.cgi?id=8082

Checked the default if that variable is not explicity declared in 
smb.conf with terstparam -v and it is


unix charset = UTF-8
display charset = LOCALE

Seems debian has an problem with UTF-8 but not with UTF8. =-O

These are my locale settings
#locale
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=



https://bugzilla.samba.org/show_bug.cgi?id=8082
Am 15.09.2011 01:04, schrieb Achim Gottinger:
It is odd here also, on one server (debian lenny with samba 3.5.6 from 
backports) using


dos charset = 850
unix charset = UTF8

fixed that issue on an other server (same osand versions) i also had 
to add the unix charset line and it worked for an document which did 
not work without and generated an error log entry like yours. looking 
at the log file i still see a few of those SPOOLSS error messages. 
Users did not report problems but i have to ask em if they have had 
issues with printing this week.
If the error occures there is no print job generated at the cups 
server at all and errors like those above appear in log.smbd


[2011/09/14 16:09:28.780842,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte sequence(@DD^W^THDD^X^T^A^D)
[2011/09/14 16:09:28.780969,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 16:09:29.001633,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte sequence(@DD^W^THDD^X^T^A^D)
[2011/09/14 16:09:29.001724,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 16:20:05.843419,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte 
sequence(88DF^H^NE09F^T^T`D9^K^T)

[2011/09/14 16:20:05.843511,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 16:20:06.107415,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte 
sequence(88DF^H^NE09F^T^T`D9^K^T)

[2011/09/14 16:20:06.107788,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)


achim~


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


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

2011-09-14 Thread Claus Rosenberger

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ۍ8A8A8AF89C^G)
[2011/09/14 13:55:24.173986,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte sequence(B3ۍ8A8A8AF89C^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)
  00 smb_io_rpc_hdr 
       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  : 
      000c call_id   : 796c
[2011/09/14 13:55:24.174346,  5] rpc_parse/parse_prs.c:89(prs_debug)
  10 smb_io_rpc_hdr_resp resp
      0010 alloc_hint: 
      0014 context_id: 
      0016 cancel_ct : 00
      0017 reserved  : 00
[2011/09/14 13:55:24.174431,  5] rpc_parse/parse_prs.c:89(prs_debug)
  18 smb_io_rpc_hdr_fault fault
      0018 status  : DCERPC_FAULT_OP_RNG_ERROR
      001c reserved: 
[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(E8DE^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(E8DE^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




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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

2011-09-14 Thread Claus Rosenberger

From the Windows side the samba connected printers show printer not connected 
if the problem appears, on all clients the same time. But Cups connected 
printers will be shown as Printer Ready. This situation is just a few minutes, 
now it was 45 minutes, but no more interesting things in the logfiles. Perhaps 
somebody knows whicn keywords to search for.
Am 14.09.2011 14:03:37, schrieb Claus Rosenberger:

 
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ۍ8A8A8AF89C^G)
 
[2011/09/14 13:55:24.173986,  0] lib/charcnv.c:650(convert_string_talloc)
 
  Conversion error: Illegal multibyte sequence(B3ۍ8A8A8AF89C^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)
 
  00 smb_io_rpc_hdr 
 
       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  : 
 
      000c call_id   : 796c
 
[2011/09/14 13:55:24.174346,  5] rpc_parse/parse_prs.c:89(prs_debug)
 
  10 smb_io_rpc_hdr_resp resp
 
      0010 alloc_hint: 
 
      0014 context_id: 
 
      0016 cancel_ct : 00
 
      0017 reserved  : 00
 
[2011/09/14 13:55:24.174431,  5] rpc_parse/parse_prs.c:89(prs_debug)
 
  18 smb_io_rpc_hdr_fault fault
 
      0018 status  : DCERPC_FAULT_OP_RNG_ERROR
 
      001c reserved: 
 
[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.
 
 
 
 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

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

2011-09-14 Thread Achim Gottinger
It is odd here also, on one server (debian lenny with samba 3.5.6 from 
backports) using


dos charset = 850
unix charset = UTF8

fixed that issue on an other server (same osand versions) i also had to 
add the unix charset line and it worked for an document which did not 
work without and generated an error log entry like yours. looking at the 
log file i still see a few of those SPOOLSS error messages. Users did 
not report problems but i have to ask em if they have had issues with 
printing this week.
If the error occures there is no print job generated at the cups server 
at all and errors like those above appear in log.smbd


[2011/09/14 16:09:28.780842,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte sequence(@DD^W^THDD^X^T^A^D)
[2011/09/14 16:09:28.780969,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 16:09:29.001633,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte sequence(@DD^W^THDD^X^T^A^D)
[2011/09/14 16:09:29.001724,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 16:20:05.843419,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte 
sequence(88DF^H^NE09F^T^T`D9^K^T)

[2011/09/14 16:20:05.843511,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)
  api_rpcTNP: \spoolss: SPOOLSS_OPENPRINTEREX failed.
[2011/09/14 16:20:06.107415,  0] lib/charcnv.c:650(convert_string_talloc)
  Conversion error: Illegal multibyte 
sequence(88DF^H^NE09F^T^T`D9^K^T)

[2011/09/14 16:20:06.107788,  0] rpc_server/srv_pipe.c:2439(api_rpcTNP)


achim~


Am 14.09.2011 14:19, schrieb Claus Rosenberger:

 From the Windows side the samba connected printers show printer not 
connected if the problem appears, on all clients the same time. But Cups connected 
printers will be shown as Printer Ready. This situation is just a few minutes, now it was 
45 minutes, but no more interesting things in the logfiles. Perhaps somebody knows whicn 
keywords to search for.
Am 14.09.2011 14:03:37, schrieb Claus Rosenberger:

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ۍ8A8A8AF89C^G)
[2011/09/14 13:55:24.173986,  0] lib/charcnv.c:650(convert_string_talloc)
   Conversion error: Illegal multibyte sequence(B3ۍ8A8A8AF89C^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)
   00 smb_io_rpc_hdr
    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  : 
   000c call_id   : 796c
[2011/09/14 13:55:24.174346,  5] rpc_parse/parse_prs.c:89(prs_debug)
   10 smb_io_rpc_hdr_resp resp
   0010 alloc_hint: 
   0014 context_id: 
   0016 cancel_ct : 00
   0017 reserved  : 00
[2011/09/14 13:55:24.174431,  5] rpc_parse/parse_prs.c:89(prs_debug)
   18 smb_io_rpc_hdr_fault fault
   0018 status  : DCERPC_FAULT_OP_RNG_ERROR
   001c reserved: 
[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 

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

2011-08-19 Thread 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(E8DE^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(E8DE^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


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

2011-08-11 Thread 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(E8DE^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(E8DE^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

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

2011-08-11 Thread Achim Gottinger

I guess you need to set

unix charset = utf8

had a similar issue last week, which was fixed that way.

achim~

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(E8DE^A^H8C^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(E8DE^A^H8C^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


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

2011-08-11 Thread Claus Rosenberger
I already have set unix charset = utf8, so it must be another reason ...

Am 11.08.2011 19:56, schrieb Achim Gottinger:
 I guess you need to set

 unix charset = utf8

 had a similar issue last week, which was fixed that way.

 achim~

 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(E8DE^A^H8C^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(E8DE^A^H8C^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