[Samba] Ipv6 printing not happening in win7
shivappa sangapur
ssangapur3 at gmail.com
Wed Apr 30 00:02:42 MDT 2014
Hi all,
IPV6 printing is not happening with samba-3.6.x in win7 but the same works
on win8 onwords.
Why smb_create is calling many times?
Because of this file-size getting zero-length.
With ipv4-everything works fine.
[2014/04/26 12:14:28.867903, 10] printing/printing.c:568(print_job_find)
print_job_find: returning system job -1 for jobid 868269967.
[2014/04/26 12:14:28.868096, 1] printing/printing.c:3317(print_job_end)
SHIVAPPA1111 size is 0 and st_ex_size is 0
[2014/04/26 12:14:28.868263, 1] printing/printing.c:3319(print_job_end)
SHIVAPPA2222 size is 0 and st_ex_size is 0
[2014/04/26 12:14:28.868429, 1] printing/printing.c:3335(print_job_end)
SHIVAPPA size is 0
[2014/04/26 12:14:28.868578, 5] printing/printing.c:3338(print_job_end)
print_job_end: canceling spool of /smbprefix/smbprn.kMHsd9 (zero length)
[2014/04/26 12:14:28.868850, 10] printing/printing.c:950(pjob_delete)
pjob_delete: Start
[2014/04/26 12:14:28.869032, 10] printing/printing.c:533(print_job_find)
print_job_find: Start
[2014/04/26 12:14:28.869193, 10] printing/printing.c:540(print_job_find)
print_job_find: looking up job 868269967 for share Print
[2014/04/26 12:14:28.869367, 10] printing/printing.c:371(print_key)
..,.,........
And gives Failed to close printer Print [NT_STATUS_RPC_SS_CONTEXT_MISMATCH]
...............
[2014/04/26 12:14:28.878965, 1]
../librpc/ndr/ndr.c:284(ndr_print_function_debug)
spoolss_ClosePrinter: struct spoolss_ClosePrinter
in: struct spoolss_ClosePrinter
handle : *
handle: struct policy_handle
handle_type : 0x00000000 (0)
uuid :
0d000000-0000-0000-5b53-ba4750120000
[2014/04/26 12:14:28.879690, 1]
../librpc/ndr/ndr.c:284(ndr_print_function_debug)
spoolss_ClosePrinter: struct spoolss_ClosePrinter
in: struct spoolss_ClosePrinter
handle : *
handle: struct policy_handle
handle_type : 0x00000000 (0)
uuid :
0d000000-0000-0000-5b53-ba4750120000
[2014/04/26 12:14:28.880378, 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 5B 53 BA
47 ........ ....[S.G
[0010] 50 12 00 00 P...
[2014/04/26 12:14:28.881068, 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 5B 53 BA 47 ........ ....[S.G
[0010] 50 12 00 00 P...
[2014/04/26 12:14:28.881818, 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:4688:4688)
[2014/04/26 12:14:28.882034, 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-5b53-ba4750120000
result : WERR_BADFID
[2014/04/26 12:14:28.882836, 3]
printing/printspoolss.c:297(print_spool_end)
Failed to close printer Print [NT_STATUS_RPC_SS_CONTEXT_MISMATCH]
[2014/04/26 12:14:28.883059, 5] smbd/files.c:482(file_free)
freed files structure 9706 (0 used)
[2014/04/26 12:14:28.883250, 5] lib/util.c:338(show_msg)
[2014/04/26 12:14:28.883359, 5] lib/util.c:348(show_msg)
Please let me know why it is not printing..?
Regards,
Shivappa
More information about the samba
mailing list