terça-feira, 11 de outubro de 2011

Configuração do Samba

[global]
workgroup = ESTUDO
netbios aliases = SRVDB
server string = %h
;wins server = 10.0.0.2
wins support = yes
dns proxy = no
name resolve order = lmhosts host wins bcast
# interfaces = 127.0.0.0/8 eth0
bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 100
syslog = 0

####### Tratando conexoes #######
; 300 segundos
keepalive = 300
; 10 minutos
deadtime = 10
panic action = /usr/share/samba/panic-action %d

####### Authentication #######
security = share
encrypt passwords = true
passdb backend = smbpasswd
obey pam restrictions = yes
unix password sync = yes
pam password change = yes

########## Domains ###########
os level = 30
domain logons = no
domain master = no
preferred master = no
local master = no

########## Printing ##########
load printers = no

############ Misc ############
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
hosts allow = ALL
case sensitive = No
;preserve case = no
;default case = lower
unix charset = ISO8859-1
display charset = cp850
getwd cache = yes


[GERAL]
comment = Pasta contabilidade
path = /home/REDE/GERAL
locking = no
writeable = yes
available = yes
browseable = yes
public = yes
force create mode = 0777
force directory mode = 0777
force user = firebird
force group = firebird
guest ok = Yes
# veto files = /*.mp3/*.mpg/*.mpeg/*.avi/*.mov/*.wmv/*.wma/*.wav/*.inf/*.vinf
# /*.scr/*.src/*.bat/*.vmx/*.com/*.lnk/*.cmd/*.pif/*.vbs/*.js/*.aa/
hide dot files = yes

Nenhum comentário: