Luana2016
(usa Suse)
Enviado em 09/05/2016 - 08:20h
Carlos, bom dia!
Abaixo meu smb.conf
workgroup = DOMINIO
server string = File Server DOMINIO
netbios name = SERVIDOR
realm = DOMINIO.COM.BR
log file = /var/log/samba/%m.log
os level = 20
max log size = 50
time server = yes
debug level = 1
security = ads
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
unix charset = ISO-8859-1
password server = 192.200.9.249
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
winbind separator = +
idmap uid = 600-20000
idmap gid = 600-20000
template homedir = /dev/null
template shell = /dev/null
winbind use default domain = yes
# [homes]
# comment = Home Directories
# valid users = %S
# browseable = no
# read only = No
# inherit permissions = Yes
# guest ok = no
# printable = no
# [netlogon]
# comment = Network Logon Service
# path = /lwt/netlogon
# admin users = root
# locking = no
# read only = yes
# browseable = no
# printable = no
# [profiles]
## comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700
# browseable = yes
# guest ok = no
# printable = no
[rvirtual]
comment = File Server- Realidade Virtual
path = /rvirtual
writeable = yes
guest ok = no
directory mask = 0777
create mask = 0777
browseable = yes
printable = no
valid users = @DOMINIO.COM.BR\dados @DOMINIO.COM.BR\adm
force group = "dados"
[DIRETORIO1]
comment = File Server
path = /geral
writeable = yes
guest ok = no
directory mask = 0775
create mask = 0775
browseable = yes
printable = no
read only = no
valid users = @DOMINIO.COM.BR\eng @DOMINIO.COM.BR\adm
force group = "geral"
[DIRETORIO2]
comment = File Server
path = /adm
writeable = yes
valid users = @DOMINIO.COM.BR\adm
force group = "adm"
browseable = yes
printable = no
directory mask = 0777
create mask = 0777
guest ok = no
[ad]
comment = File Server - AD Backup
path = /hhh/activedirectory
writeable = yes
browseable = no
printable = no
directory mask = 0755
create mask = 0755
guest ok = no
[w2012r2]
comment = Backup AD Server
path = /hhh/backup/w2012r2
writeable = yes
guest ok = yes
browseable = yes
printable = no
create mask = 0777
#[sysadm]
# comment = File Server - Sysadm
# path = /sysadm
# writeable = yes
# guest ok = no
# browseable = yes
# printable = no
# create mask = 0755