Alexander78
(usa Debian)
Enviado em 08/01/2019 - 19:55h
Boa noite a todos por favor alguém pode me ajudar tenho o samba instalado no Debian 8 só para compartilhar arquivo e tenho 2 tipo de usuário o administrador que não estou tendo problema ele faz todas as coisas corretas porém o usuário que é somente leitura não está acessando nada novo mais as coisas que foram criadas no ano passado ele acessa normal alguem pode me ajudar? o meu arquivo de configuração e esse:
[global]
workgroup = CMM
netbios name = CGF
server string = %h de arquivo
security = user
os level 65
local master = no
domain master = no
map acl inherit = yes
inherit acls = yes
inherit permissions = yes
preserve case = yes
short preserve case = yes
default case = lower
case sensitive = no
preferred master = no
domain logons = no
wins support = yes
name resolve order = wins hosts bcast
#enable privileges = yes
server role = standalone server
log level = 0
syslog = 0
log file = /var/samba/log/log.%m
max log size = 1000
guest account = nobody
map to guest = Bad User
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
deadtime = 10
encrypt passwords = yes
passdb backend = tdbsam
[Informatica]
path = "/var/samba/inf"
browseable = yes
writable = yes
valid users = admin
admin users = admin
#read list = teste1
##write list = teste2
#public = yes
[secret-bol]
path = "/var/samba/secret"
browseable = yes
writable = yes
valid users = adminsecret,admin,admincomb,adminecv,admind2,userbol
admin users = adminsecret,admin
read list = adminecv,admind2,admincomb,userbol
##write list = teste2
[ecv]
path = "/var/samba/ecv"
browseable = yes
writable = yes
valid users = adminecv,admin
admin users = adminecv,admin
##read list = teste1
##write list = teste2
[combustivel]
path = "/var/samba/comb"
browseable = yes
writable = yes
available = yes
#force create mode = 755
#map acl inherit = yes
valid users = admincomb,combuser,admin
admin users = admincomb,admin
#read list = usercomb
#write list = combuser
[d2]
path = "/var/samba/d2"
browseable = yes
writable = yes
valid users = admind2,admin,usercomb
admin users = admind2,admin
read list = usercomb
#write list = usercomb
[cd-rom]
comment = cd-rom
writable = no
locking = no
path = /media/cdrom
public = yes
read only = yes
browseable = yes
preexec = /bin/mount /media/cdrom
postexec = /bin/umont /media/cdrom