I have a network where all printers are to be controlled by one printserver
I'm using Cups together with Samba and authenticating user under our NT
domain.
My problem is that when NT users are trying to print, all jobs enter the
cups/page_log with names = nobody
How do I change my samba conf to allow the printcommand to be run by the
actual windows user
Thanks in advance
Regards,
Mads
ps. There is no real Cups mailing list, what about Mandrake made one?
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2001/06/20 17:35:09
# Global parameters
[global]
workgroup = CIT
netbios name = KENNEDY
server string = Samba Server %v
interfaces = 192.168.1.131/255.255.255.0
security = DOMAIN
encrypt passwords = Yes
password server = roma
password level = 8
username level = 8
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = lpstat
local master = No
dns proxy = No
hosts allow = 192.168.1. localhost
printing = cups
print command = lpr-cups -P %p -o raw %s -r # using client side printer
drivers.
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p
[lp]
comment = Kant
path = /var/spool/samba
writeable = Yes
create mask = 0700
guest ok = Yes
printable = Yes
postscript = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer
drivers.
lpq command = lpstat -o %p
lprm command = cancel %p-%j
printer = kant
printer driver = HP LaserJet 5000
oplocks = No
share modes = No
[paris]
comment = Paris - Sala 34
path = /var/spool/samba
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer
drivers.
lpq command = lpstat -o %p
lprm command = cancel %p-%j
printer driver = HP DeskJet 870
[copenhagen]
comment = Copenhagen - Sala XX
path = /var/spool/samba
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer
drivers.
lpq command = lpstat -o %p
lprm command = cancel %p-%j
printer = copenhagen
printer driver = HP LaserJet 1200
printer driver location = \\kennedy\driver$
[printers]
path = /tmp
printable = Yes
[driver]
comment = Printer Drivers
path = /usr/local/printers
guest ok = Yes