[Samba] "Ghost" print job.
Christer Backstrom
chp802 at bangor.ac.uk
Wed Feb 13 22:39:05 GMT 2002
On Wed, 2002-02-13 at 02:09, Joel Hammer wrote:
> What command does samba execute to allow the win98 clients to see the queue?
The smb.conf I use is listed below
> Have you tried running that command on your server directly?
No problems. As I said, I use the same queue from my linux boxes with no
problem. There's nothing there.
> Which queue is the job in? Could there be a another queue involved?
I load the queues from printcap (listed below), so I don't see what
other queue could be involved. Theres nothing in /var/spool/samba/, and
nada in /var/spool/lpd/[XXX]/. I've even removed the printers, deleted
all files, and reinstalled it all. No go.
/Chris
>
> Joel
>
> On Tue, Feb 12, 2002 at 06:45:15PM +0000, Christer Backstrom wrote:
> > Hi all,
> >
> > I'm currentlly using samba-2.2.2 together with LPRng-3.7.4, and have a
> > problem with a printjob that woun't go away. I use samba for a small
> > file/printserver for 10 people using win98se clients, and it's been
> > working very nicely. As I upgraded from samba-2.0.6, I sent out a
> > testpage from one of the win98se clients to the two printers (hpljet 6L,
> > Epson stylus photo 750) we have on the network, and had to cancel,
> > because the lpd wasn't configured properly. I removed the jobs from the
> > samba spooler /var/spool/samba , the lprng spooler /var/spool/lpd/[xxx]
> > and restarted the daemons. lpd gave me "No jobs in queue", and when I
> > connected from my Linux machine kups->smbprinter, it showed nothing in
> > the queue. But, alas, when looking at the queue from any win98 client,
> > there's this TestPage job first in the queue. And when I try to remove
> > it (I am the owner), it gives an errormessage "You have no permission to
> > modify this print job". I've searched through miles of text to no avail.
> > The logs don't say anything. Any ideas what's wrong? Cheeres,
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Samba config file created using SWAT
# from XXXXXXXXXXXXXXXXXX
# Date: 2002/02/01 01:08:28
# Global parameters
[global]
workgroup = XXXXXXXXXX
netbios name = XXXXXXXXXXX
server string = XXXXXXXXXXXX
interfaces = eth0
update encrypted = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
deadtime = 15
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
guest account = public
invalid users = root
hosts allow = 127.0.0.1 XXXXXXXXXXX
hosts deny = ALL
min print space = 100000
printing = lprng
[homes]
comment = Home directory
read only = No
browseable = No
[public]
comment = Common drive
path = /home/public
username = +users
read list = +users
write list = +users
force user = public
force group = users
read only = No
create mask = 0666
directory mask = 0777
[student]
comment = Student drive
path = /home/student
write list = +users
force user = nobody
force group = nobody
create mask = 0666
directory mask = 0777
guest only = Yes
guest ok = Yes
[Printers]
path = /var/spool/samba
print command = /usr/bin/lpr -r -P%p %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
lppause command = /usr/sbin/lpc hold %p %j
lpresume command = /usr/sbin/lpc release %p %j
queuepause command = /usr/sbin/lpc disable %p
queueresume command = /usr/sbin/lpc enable %p
printer admin = chp802
force group = users
create mask = 0700
printable = Yes
browseable = No
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Entry edited Thu Jan 31 23:50:03 2002 by foomatic-configure.
# Additional configuration atop /etc/foomatic/lpd/HPLJet.lom
HPLJet|HP LaerJet 6L|Raw queue|2nd floor office|lp:\
:sd=/var/spool/lpd/HPLJet:\
:lf=/var/log/lp-errs:\
:lp=/dev/lp0:\
:sh:\
:mx#0:
# Entry edited Fri Feb 1 01:26:27 2002 by foomatic-configure.
# Additional configuration atop /etc/foomatic/lpd/Epson.lom
Epson|Epson SP 750|Raw queue|2nd floor office:\
:sd=/var/spool/lpd/Epson:\
:lf=/var/log/lp-errs:\
:lp=/dev/lp1:\
:force_localhost:\
:sh:\
:mx#0:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--
------------
Christer Bäckström
Optoelectronic Materials Chemistry Group
Department of Chemistry
University of Wales, Bangor
Bangor, Gwynedd
LL57 2UW Wales, UK
E-mail : chp802 at bangor.ac.uk
Telephone Office : +44(0)1248 388302
Telephone Laboratory : +44(0)1248 388304
More information about the samba
mailing list