The smb.conf file is as below
Code: Select all
# Global parameters
[global]
server string = Editorial Server%v
workgroup = FirstIndia
netbios name = FileServer
interfaces = 10.1.2.0/24
log level = 2
log file = /var/log/samba/log.%m
max log size = 1000
debug timestamp = no
password server = no
remote announce = 10.1.2.0/24
socket options = TCP_NODELAY IPTOS_LOWDELAY
strict sync = yes
sync always = Yes
max connections = 500
name cache timeout = 0
deadtime = 0
winbind cache time = 800
wins support = Yes
os level = 33
create mask = 0777
directory mask = 0777
force create mode = 0777
force directory mode = 0777
veto files = /*.exe/*.com/*.dll/*.xml/*.pif/*.cmd/*.inf/*.mp*/*.avi/*.dat/*.3g*/*.wm*/*.fl*/*.scr/Autorun.inf/*.mkv/*.db
delete Veto files = True
password server = no
logging = syslog
map to guest = Bad User
multicast dns register = No
pam password change = No
panic action = /usr/share/samba/panic-action %d
timestamp logs = No
[Fileserver]
path = /Disk/Server
browseable = no
guest only = Yes
hosts allow = 127. 10.1.
comment = Don't put your Personal Data on this Server
volume = File Server
writable = yes
read only = No
vfs objects = recycle:recycle full_audit:audit
recycle:repository = .deleted/%m
recycle:keeptree = yes
recycle:touch = yes
recycle:versions = yes
recycle:maxsize = 0
recycle:exclude = *.tmp
recycle:exclude_dir = /tmp
recycle:noversions = *.doc
Code: Select all
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
deadtime = 0
interfaces = 10.1.2.0/24
log file = /var/log/samba/log.%m
logging = syslog
map to guest = Bad User
max log size = 1000
multicast dns register = No
name cache timeout = 0
os level = 33
panic action = /usr/share/samba/panic-action %d
password server = no
remote announce = 10.1.2.0/24
server string = Editorial Server%v
socket options = TCP_NODELAY IPTOS_LOWDELAY
timestamp logs = No
winbind cache time = 800
wins support = Yes
workgroup = FIRSTINDIA
idmap config * : backend = tdb
create mask = 0777
delete veto files = Yes
directory mask = 0777
force create mode = 0777
force directory mode = 0777
max connections = 500
sync always = Yes
veto files = /*.exe/*.com/*.dll/*.xml/*.pif/*.cmd/*.inf/*.mp*/*.avi/*.da t/*.3g*/*.wm*/*.fl*/*.scr/Autorun.inf/*.mkv/*.db
[Fileserver]
browseable = No
comment = Don't put your Personal Data on this Server
guest only = Yes
hosts allow = 127. 10.1.
path = /Disk/Server
read only = No
vfs objects = recycle:recycle full_audit:audit
volume = File Server
recycle:noversions = *.doc
recycle:exclude_dir = /tmp
recycle:exclude = *.tmp
recycle:maxsize = 0
recycle:versions = yes
recycle:touch = yes
recycle:keeptree = yes
recycle:repository = .recycle/%m