shivappa sangapur
2016-Apr-07 10:29 UTC
[Samba] [samba] print issue from command prompt when jobs submit simultaneously
Hi Samba-Team, This issue can be reproducible in samba-4.2.5 also. Please find the attached log file for the same. Hope I may get some help to resolve it. Thanks and Regards, Shivappa On Mon, Apr 4, 2016 at 11:24 PM, shivappa sangapur <ssangapur3 at gmail.com> wrote:> Hi Samba-Team, > > I'm using Fedora Linux and running samba 4.1.9. > > When I submit 2 print jobs from 2 windows command prompts from one > Client PC simultaneously below error is logged and the data is lost > for one of the job. > (CMD prompt: copy smbprint.txt \\IPaddress\Print) > > ----------------------------------------------------------------------------------------------------------- > 2015/12/07 22:20:39.004355, 3, pid=30819, effective(99, 99), real(99, > 0)] ../source3/printing/printspoolss.c:326(print_spool_end) > Failed to close printer Print [NT code 0x1c00001a] > > ----------------------------------------------------------------------------------------------------------- > > This issue occurs for one out of two jobs , only when jobs are > submitted simultaneously from windows command prompt. > > But if we submit jobs one after the other( 2 or 3 seconds delay) the > error won't come and no loss of data also. > > I want to know why this error occurs. > > As per the error code mapping it says RPC context mismatch. > > I'm confused how context mismatch happened even though SMBsplclose and > SMBsplopen are having same contexts(as i can see in logs). > > This can be reproduced everytime when 2 or more jobs are submitted > simultaneously from windows command prompt. > (CMD prompt: copy filename \\IPaddress\Print) > open two command prompts and execute above on one and use different > filename on another one) > > Could you please help me out to understand why the above error logged. > > > > Thanks and Regards, > Shivappa >-- svsangapur
Possibly Parallel Threads
- Fwd: print issue from command prompt when jobs submit simultaneously
- Ipv6 printing not happening in win7
- Error ERRaccess in Samba 2.0.7 printing to Netgear print servers
- Share cannot be accessed when samba is in Domain with security enabled
- Share cannot be accessed when samba is in Domain with security enabled