#======================= Global Settings =====================================
[global]
# Basic Computer Descriptions
workgroup = WORKGROUP
netbios name = RAIN-DESKTOP
server string = "Desktop Machine"
# Basic Printer Settings printcap name = cups load printers = yes printing = cups printer admin = ####, ####
# Logging Settings, Log File Won't Go Over 50KB log file = /var/log/samba3/log.%m max log size = 50
# Only Allow Hosts From The Local Network, Deny ALL Others hosts allow = 192.168.1. 127. hosts deny = ALL
# Sets up the guest account, just uses nobody # Allows Anonymous Printing guest account = nobody guest ok = yes
#passdb backend = tdbsam
# Security mode. Most people will want user level security. See # security_level.txt for details. security = user
encrypt passwords = yes smb passwd file = /etc/samba/private/smbpasswd
#socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = lo eth0 bind interfaces only = yes
# This sets up on access virus scanning # vfs object = vscan-clamav # vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
#============================ Share Definitions ==============================
[HD-2]
comment = Second Hard Drive
path = /mnt/win_c2
valid users = ####
public = no
writable = yes
printable = no
[Home] comment = #### Home Directory path = /home/#### valid users = #### public = no writable = yes printable = no
#=============================== Printers ====================================
[HP_Deskjet_5550] comment = HP Deskjet 5550 printable = yes path = /var/spool/samba public = yes guest ok = yes printer admin = ####, ####
[PDFs] comment = PDF Printer Output guest ok = yes path = /usr/PDFs read only = no
[PDF_Printer] comment = PDF Printer path = /tmp printable = yes guest ok = yes lpq command = lprm command =
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
public = yes
printer admin = ####, ####
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
[print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes write list = ####, #### guest ok = no
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
