Dear Samba Team, We have migrated from Samba 3.5.16 to 3.6.22. We are facing issue with Samba Printing using Windows7 in Pure IPV6 environment. We noticed that the same usecase passes in Windows8.1. Could you please help us to resolve this issue? Why there exists problem only with Windows7 though we are using SMB protocol. We noticed that the data size is being read as zero always and hence after four times retry the job is failing to print. The below error is logged on failure, "print_job_end: canceling spool of /smbprefix/smbprn.l5bCNH (zero length)" Please help us in resolving this issue immediately. Regards, Meena
Please read https://www.samba.org/~asn/reporting_samba_bugs.txt
(In reply to comment #0) > Please help us in resolving this issue immediately. samba is free software, you cannot demand immediate bug fixes from volunteering developers. if you have an urgent need for getting fixes done you should consider to have a look here: http://www.samba.org/samba/support/
(In reply to comment #2) > (In reply to comment #0) > > Please help us in resolving this issue immediately. > > samba is free software, you cannot demand immediate bug fixes from volunteering > developers. if you have an urgent need for getting fixes done you should > consider to have a look here: > > http://www.samba.org/samba/support/ People for whom English is a second language can sometimes use inappropriate terms. It's not a big deal :-). Meena, we require much more information to help you fix this issue. Please look at the link Andreas provided, and it should help you understand the details we need to start looking into this. Regards, Jeremy.
Created attachment 9884 [details] Log file for Print Failure in PureIPV6 environment
(In reply to comment #4) > Created attachment 9884 [details] > Log file for Print Failure in PureIPV6 environment Dear Jeremy, Thank you for the reply. Please find the detailed description of the issue below, We have migrated from Samba 3.5.16 to 3.6.22. When we were testing Print Job in Pure IPV6 environment(We have disabled IPV4 is ClientPC and Server Side also) from Windows7 Client PC, Print Job fails. We observed the below error, [2010/04/23 19:32:12.735242, 4] rpc_server/rpc_handles.c:242(find_policy_by_hnd_internal) Policy not found: [0000] 00 00 00 00 0D 00 00 00 00 00 00 00 D1 4B 52 9A ........ .....KR. [0010] 29 2F 00 00 )/.. [2010/04/23 19:32:12.735958, 2] rpc_server/spoolss/srv_spoolss_nt.c:350(find_printer_index_by_hnd) find_printer_index_by_hnd: Printer handle not found: Policy not found: [0000] 00 00 00 00 0D 00 00 00 00 00 00 00 D1 4B 52 9A ........ .....KR. [0010] 29 2F 00 00 )/.. [2010/04/23 19:32:12.736666, 2] rpc_server/spoolss/srv_spoolss_nt.c:350(find_printer_index_by_hnd) find_printer_index_by_hnd: Printer handle not found: close_printer_handle: Invalid handle (OURS:12073:12073) [2010/04/23 19:32:12.736872, 1] ../librpc/ndr/ndr.c:284(ndr_print_function_debug) spoolss_ClosePrinter: struct spoolss_ClosePrinter out: struct spoolss_ClosePrinter handle : * handle: struct policy_handle handle_type : 0x00000000 (0) uuid : 0d000000-0000-0000-d14b-529a292f0000 result : WERR_BADFID [2010/04/23 19:32:12.737675, 3] printing/printspoolss.c:297(print_spool_end) Failed to close printer Print [NT_STATUS_RPC_SS_CONTEXT_MISMATCH] It is observed that after the first attempt to print the files three more consecutive attempts are done and the same is failed with the below error as the file length is set to zero due to some failure, "print_job_end: canceling spool of /smbprefix/smbprn.l5bCNH (zero length)" Please find attached the log file for further reference. Regards, Meena
(In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #0) > > > Please help us in resolving this issue immediately. > > > > samba is free software, you cannot demand immediate bug fixes from volunteering > > developers. if you have an urgent need for getting fixes done you should > > consider to have a look here: > > > > http://www.samba.org/samba/support/ > > People for whom English is a second language can sometimes use > inappropriate terms. It's not a big deal :-). > > Meena, we require much more information to help you fix this > issue. Please look at the link Andreas provided, and it should > help you understand the details we need to start looking into > this. > > Regards, > > Jeremy. Dear Jeremy, Also please find the steps to reproduce this bug below, 1. Disable IPV4 in Windows7 Client PC and enable only IPV6. 2. Disable IPV4 in Server side Printer and enable only IPV6. 3. Add the Printer using the local port in Windows7 Client PC using IPV6 address and Install the Printer in Client PC. 4.After successfull installation submit a Test Page Print using Printer Properties from the Windows7 Client PC to the Printer. 5. Result -> Print job fails to print. I have attached the log files and provided further details above. Please let us know if any further information is required. Regards, Meena
*** Bug 10664 has been marked as a duplicate of this bug. ***
closing this because as mentioned in bug 10664 this is working with win8 and newer