CUPS and SMB

whc whc at uole.com.ve
Thu Apr 12 06:38:30 GMT 2001


Hi
i have a linux mandrake 7.2 server
using cups
I am triying to use samba for printig
but it  is not working

this is my smb.conf file

;*******************section global*****************
[global]

workgroup = KVJ
server string = Samba Server %v
printcap name = cups 
load printers = yes
printing = cups
log file = /var/log/samba/log.%m
max log size = 50
security = user
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
hosts allow = 192.168.0. 127.0.0.
netbios aliases = printer
smb passwd file = /etc/smbpasswd
encrypt passwords = no
interfaces = 192.168.0.1/24  127.0.0.1/24
local master = yes
bind interfaces only = yes
;*******************section homes*****************
[homes]
comment = Home Directories
browseable = no
writable = yes
;*******************section printers*****************
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
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

;****************************************************
[cdrom]
   path = /mnt/cdrom
   root preexec = mount /mnt/cdrom
   root postexec = umount /mnt/cdrom
   comment = Unidad CDROM del Servidor
   guest ok = yes
   public = yes 
   browseable = yes
      
--------------------------------------
please help me
i don't know what i am doing wrong

my network ips are : 192.168.0.1-20
my server ip  : 192.168.0.1

thanks

Wenceslao Hernandez C.








More information about the samba mailing list