fifo
(usa CentOS)
Enviado em 18/06/2018 - 13:45h
Olá pessoal!
Li inúmeros artigos aqui sobre este assunto e apliquei as sugestões. Porém sem sucesso. Já cheguei ao absurdo de dar 777 no arquivo .bat, mas nem "tchum". Também já dei direito na pasta e arquivo para o grupo 3000000 (acredito que seja como o CentOS lê o 'Domain Users'), mas sem sucesso.
Segue meu smb.conf :(
# Global parameters
[global]
netbios name =DOMÍNIO
realm = DOMÍNIO.ad
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
workgroup = DOMÍNIO
server role = active directory domain controller
idmap_ldb:use rfc2307 = yes
server string = Samba Server %V
log file = /var/log/samba/%U.log
max log size = 1000
map to guest = Bad User
passdb backend = tdbsam
cups options = raw
vfs objects = acl_xattr
map acl inherit = yes
store dos attributes = yes
dns forwarder = 8.8.8.8
############################Lixeira
vfs objects = recycle crossrename
crossrename:sizelimit = 2000
recycle:maxsize = 0
recycle:directory_mode = 0774
recycle:subdir_mode = 0774
recycle:keeptree = yes
recycle:touch = yes
recycle:versions = yes
recycle:repository = /dados/lixeira/%R
recycle:exclude = *.tmp, ~*.*, *.bak, *.iso, *.mp3, *.wav, *.mp4, *.mkv, *.rmvb
recycle:exclude_dir = tmp, temp, cache
recycle:noversions = .doc|.docx|.xls|.xlsx|.ppt|*.pptx
create mask = 0774
directory mask = 0774
domain logons = yes
logon script = logon.bat
############################DESEMPENHO######################################
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
getwd cache = yes
[netlogon]
path = /usr/local/samba/var/locks/sysvol/csnamr.ad/scripts/
read only = No
browseable = No
[sysvol]
path = /usr/local/samba/var/locks/sysvol/
read only = No
browseable = No
[%U]
comment = Diretorio dos Usuários
path = /dados/COMPARTILHAMENTOS/USUARIOS/%U
force create mode = 0777
force directory mode = 0777
browseable = yes
writable = yes
public = yes
veto files = /*.mp3/*.jpj/*.wav/*.mp4/*.mkv/*.rmvb/*.exe/*.msc/*.dll/*.bat/*.bak/*.cab/*.dat/*.ini/*.php/*.src/*.reg/*.ole/*.js/*.vbs/*.wsf/*.msi/*.cpl/*.jar/*.com/*.cmd/*.hta/*.scr/*.ws/*.vb/*.asp
delete veto files = yes
[COMPARTILHAMENTOS]
comment = Diretorio departamentos
path = /dados/COMPARTILHAMENTOS
browseable = yes
writable = yes
public = yes
force create mode = 0777
force directory mode = 0777
veto files = /*.mp3/*.jpj/*.wav/*.mp4/*.mkv/*.rmvb/*.exe/*.msc/*.dll/*.bat/*.bak/*.cab/*.dat/*.ini/*.php/*.src/*.reg/*.ole/*.js/*.vbs/*.wsf/*.msi/*.cpl/*.jar/*.com/*.cmd/*.hta/*.scr/*.ws/*.vb/*.asp
delete veto files = yes
[LIXEIRA]
comment = Diretorio lixeira
path = /dados/COMPARTILHAMENTOS/LIXEIRA
browseable = yes
writable = yes
public = yes