Enviado em 25/02/2013 - 16:48h
Galera boa tarde.
[global]
domain logons = yes
# interfaces = 150.164.7.66
log level = 2
log file = /var/log/samba/log.%m
# logon path = \\%L\home\%U
# logon drive = H:
# logon home = \\%N\%U
netbios name = Servidor SAMBA
comment = Servidor Samba
os level = 100
preferred master = yes
domain master = yes
security = user
# socket options = TCP_NODELAY IPTOS_LOWDELAY
deadtime = 1
keepalive = 20
logon script = logon.bat
workgroup = WORKGROUP
# browse list = yes
# encrypt passwords = yes
# username map=/etc/samba/usermap.conf
# username map = /etc/samba/smbusers
# machine password timeout = 30
unix charset = UTF-8
dos charset = CP932
# wins support = yes
[public]
path = /home/samba
browseable = yes
writeable = yes
printable = no
create mask = 0777
force create mode = 0777
[dados]
path = /home/sistema
guest ok = no
browseable = yes
read only = no
writeable = yes
create mask = 0756
force create mode = 0756
[netlogon]
path = /home/netlogon
comment = Network Logon Service
guest ok = yes
read only = yes
[Security]
path = /home/security
writable = yes
create mode = 0770
directory mode = 0770
guest ok = no
[homes]
valid users = %S
create mask = 0700
directory mask = 0700
browseable = no
writeable = yes
[profiles]
path = /var/profile
read only = no
browseable = no