Displaying 1 result from an estimated 1 matches for "smbspl".
Did you mean:
smbspool
2000 Jul 11
0
Error ERRaccess in Samba 2.0.7 printing to Netgear print servers
...file stdin-1234
I compared the 2.0.7 source with the 1.9.18 source and found that the
cmd_print procedure has changed significantly. In clientgen.c, the
cli_open procedure has the following statement :
CVAL(cli->outbuf,smb_com) = 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_writ...