[KLUG Members] Samba and Printer driver's installation

Komal agencies_ad1 at sancharnet.in
Sat Dec 3 05:00:22 EST 2005


Hi

Gentoo is a great distribution and its documentation is world better
than any other distribution. I was reading Gentoo's documentation on
Gentoo Samba3/CUPS/ClamAV HOWTO. It's great guide to configure Samba
as a print server for both windows and Linux host. In the
configuration file of Samba there is a separate section for HP printer
and printer share for all printers. I want to know why there is a two
separate entry for printers. Also, wouldn't in printers share there
will be HP printer also?
To implement calmAV support for Samba in Fedora Core do I need to
recompile Samba with ClamAV?
[global]
workgroup = MYWORKGROUPNAME
server string = Samba Server %v
printcap name = cups
printing = cups
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = lo eth0
bind interfaces only = yes
hosts allow = 127.0.0.1 192.168.1.0/24
hosts deny = 0.0.0.0/0
security = share
guest account = samba
guest ok = yes
vfs object = vscan-clamav
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf

# Now we setup our print drivers information!
[print$]
comment = Printer Drivers
path = /etc/samba/printer # this path holds the driver structure
guest ok = yes
browseable = yes
read only = yes
# Modify this to "username,root" if you don't want root to
# be the only printer admin)
write list = root

 [HPDeskJet930C]
comment = HP DeskJet 930C Network Printer
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = root

[printers]
comment = All Printers
browseable = no
printable = yes
writable = no
public = yes
guest ok = yes
path = /var/spool/samba
printer admin = root


Thanks
Regards,
Komal




More information about the Members mailing list