Samba and CUPS printing

whc whc at uole.com.ve
Sun Apr 15 12:51:45 GMT 2001


hi
really the couple cups and samba is a nightmare OK
well
at first time
see if you have in the printers section
"public = Yes"
I have my samba and cups working
but when i send a job to the smb printer
the cups server crash ( cups is the problem )
whatever
i change the "printcap name" to /etc/printcap

this is my smb.conf file
 
;*******************section global*****************
[global]
workgroup = HVLINUX
server string = %h Samba Server %v
hosts allow = 192.168.0.  127.
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/log.%m
max log size = 50
security = user
smb passwd file = /etc/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.0.1/24 127.0.0.1/24
local master = Yes
os level = 33
domain master = yes
dns proxy = no
;*******************section homes*****************
[homes]
comment = Home Directories
browseable = no
writable = yes
;*******************section printers*****************
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr-cups -P %p %s 
lpq command = lpstat -o %p
lprm command = cancel %p-%j
;*******************section cdrom*****************
[cdrom]
comment = Unidad de CDROM
available = yes
browseable = yes
path = /mnt/cdrom
public = yes
guest only = no
writable = no
only user = no
root preexec = mount /mnt/cdrom
root postexec = umount /mnt/cdrom
;*******************section hvlinux*****************
[hvlinux]
comment = USO PUBLICO
valid users = whc d0ct0r_x
writable = yes
browseable = no
path = /home/hvlinux
write list = @hvlinux
-- 

i will repair the cups problem
and all will be fine

Wenceslao Hernandez C.

whc at uole.com.ve
hvlinux.sourceforge.net   ---  HVLinux
www.hven.com.ve           ---  HVen






More information about the samba mailing list