########################################################
#
# ############## Co., Inc.
# Samba configuration file
# /etc/samba/smb.conf
# Paul McNett
#
# Created: 01/08/2005
# Modified: 01/08/2005
#
########################################################
[global]
; Tweaks ?
;server signing = no
dns proxy = no
; Basic Server Settings
workgroup =
netbios name =
server string = Samba Server
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
time server = yes
printcap name = /etc/printcap
load printers = yes
; PDC and Master Browser Settings
os level = 64
preferred master = yes
local master = yes
domain master = yes
; Security and Logging Settings
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
domain logons = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
;hosts allow = 127.0.0.1 192.168.101.0/255.255.255.0
; Not sure about these settings so leave them alone for now:
domain admin group = @admins
admin users = @admins
printer admin = @admins
; User profiles and Home Directory
logon home = \\%L\%U
logon drive = X:
logon path = \\%L\profiles\%U
; Run logon script per user
logon script = %U.bat
; Not sure if these are needed but the system is working with them:
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
#============================ Share Definitions ==============================
[homes]
comment = Home Directory
browseable = no
writable = yes
[netlogon]
comment = Network Logon Service
path = /var/local/samba/netlogon
guest ok = yes
read only = yes
write list = @admins
share modes = no
[Profiles]
path = /var/local/samba/profiles
browseable = no
guest ok = yes
writable = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
[userdata]
comment = User Data
path = /var/local/samba/userdata
public = yes
read only = no
create mask = 770
directory mask = 770
[sbs]
comment = SBS Custom App Data (VFP app)
path = /var/local/samba/sbs
public = yes
read only = no
fake oplocks = no
level 2 oplocks = no
create mask = 770
directory mask = 770
[install]
comment = Installation Files
path = /var/local/samba/install
public = yes
read only = no
fake oplocks = no
level 2 oplocks = no
create mask = 770
directory mask = 770
[peachtree]
comment = Peachtree Data
path = /var/local/samba/peachtree
public = yes
read only = no
fake oplocks = no
level 2 oplocks = no
create mask = 770
directory mask = 770
[old_qa]
comment = Q&A Data
path = /var/local/samba/old_qa
public = yes
read only = no
fake oplocks = no
level 2 oplocks = no
create mask = 770
directory mask = 770