Created attachment 10041 [details]
We are running samba-4.1.4 on fedora-OS and found issue on ipv6 printing.
The detailed description is as below.
1.Installed the printer from Windows7 using local-port print(\\ipv4.address\print).
2.Printer installation succeeded.
3.Test page spooled and job-success.
IPV6:(issue present from 3.6.x)
1.Installed the printer from Windows7 using local-port print(\\ipv6.address\print).
2.Printer installation succeeds.
3.Test page spooled but no job-success.
4.Got "print_job_end: canceling spool of /var/spool/samba/smbprn.4cLprE (zero length)" error in logfile.
Observations on the issue:
smbprn files present in /var/spool/samba/ are having proper data(header , EOF and all).
smbd_smb2_request_dispatch: opcode[SMB2_OP_CREATE] is happening many times.Then after opcode[SMB2_OP_WRITE] is calling, by that time the new smbprn files are created and having zero length, so job not gets succeed.
Please help to resolve the issue.
I can provide more debugging details, please let me know how I can help.
*** This bug has been marked as a duplicate of bug 10561 ***
I checked this issue on samba-4.4.7.
Still this issue exists.
Could you please help to resolve this issue. ?
The issue cannot be reproduced from win8 onwards(win8,win8.1,win10,win2k16 No issues)
Is it issue from windows side ?
using UNC names with colon-separated bare IPv6 addresses is not a good idea anyway and will cause problems at several places; is this also a problem for you if you use proper DNS names that resolve to IPv6 addresses?