Displaying 5 results from an estimated 5 matches for "smbsplclose".
2005 Sep 20
1
Samba closing printer prematurely?
...ver.
A level 4 debug level from Samba shows:
[2005/09/20 14:31:16, 3] smbd/reply.c:reply_printopen(3535)
openprint fd=5 fnum=9756
[2005/09/20 14:31:16, 3] smbd/process.c:process_smb(1114)
Transaction 566 of length 41
[2005/09/20 14:31:16, 3] smbd/process.c:switch_message(900)
switch message SMBsplclose (pid 758) conn 0x8311a10
[2005/09/20 14:31:16, 4] smbd/uid.c:change_to_user(217)
change_to_user: Skipping user change - already user
[2005/09/20 14:31:16, 3] smbd/reply.c:reply_printclose(3561)
printclose fd=5 fnum=9756
Seem like Samba is opening and closing the printer connection at the
same...
2016 Apr 04
0
Fwd: print issue from command prompt when jobs submit simultaneously
...indows 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 o...
2016 Apr 07
0
print issue from command prompt when jobs submit simultaneously
...e 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...
2000 Jul 11
0
Error ERRaccess in Samba 2.0.7 printing to Netgear print servers
...= SMBopenX
I changed that to
CVAL(cli->outbuf,smb_com) = SMBsplopen;
and the ERRaccess error disappeared.
It is my guess that the Netgear print server does not support the
SMBopenX file SMB commands, but does support the SMBspl print
spool SMB commands. I changed the SMBclose command to
SMBsplclose in cli_close and the SMBwriteX command in
cli_issue_write to SMBsplwr and had a print command that almost
worked except for a write error. Would it be possible to re-enable SMB
spool file printing in Samba 2?
The critical part of the print script is as follows :
(
# NOTE You may wish to add t...
2008 Aug 14
2
Printing XP -> 3.2 Now really slow (just like the old days)
Guys,
My wife needed to print something this evening to our normal HP 4 attached to
our cups server running samba-3.2.1-0.1.126. Nothing has changed in the last
two months going from 3.0.28a to the 3.2.x flavor of samba. However, something
has brought printing to its knees.
I pulled out all the old tricks, hacked the registry to delete any entries in
HKCU\Printers\DevModes and DevModes2 of