problema com samba

1. problema com samba

paulo eduardo
peaa

(usa CentOS)

Enviado em 04/06/2019 - 13:34h

sou novato estou tentando criar compartilhamentos com o samba cada pasta tem seu usuario e senha para acessar criei o usuario no centos 7 criei o grupo adicionei o usuario no samba fiz o mkdir dei chmod e chown na pasta correspondente e quando coloco usuario e senha na pasta no windows fala que nao tem permissao do usuario segue meu smb.conf
[global]
log file = /mnt/sdb/logs.log
cups options = raw
netbios name = samba
netbios aliases = samba
security = user
map to guest = Bad User

[cleo]
path = /mnt/sdb/cleo
valid users = cleo
guest ok = no
writable = yes
browsable = yes

[jefferson]
path = /mnt/sdb/jefferson
valid users = jefferson
guest ok = no
writable = yes
browsable = yes

[eder]
path = /mnt/sdb/eder
valid users = eder
guest ok = no
writable = yes
browsable = yes

[projeto]
path = /mnt/sdb/projeto
valid users = projeto
guest ok = no
writable = yes
browsable = yes

[comercia]
path = /mnt/sdb/comercial
valid users = comercial
guest ok = no
writable = yes
browsable = yes

[compras]
path = /mnt/sdb/compras
valid users = compras
guest ok = no
writable = yes
browsable = yes

[financeiro]
path = /mnt/sdb/financeiro
valid users = financeiro
guest ok = no
writable = yes
browsable = yes

[fiscal]
path = /mnt/sdb/fiscal
valid users = fiscal
guest ok = no
writable = yes
browsable = yes

[almoxarifado]
path = /mnt/sdb/almoxarifado
valid users = almoxarifado
guest ok = no
writable = yes
browsable = yes

[acores]
path = /mnt/sdb/acores
valid users = acores
guest ok = no
writable = yes
browsable = yes

[celso]
path = /mnt/sdb/celso
valid users = celso
guest ok = no
writable = yes
browsable = yes

[gabriel]
path = /mnt/sdb/gabriel
valid users = gabriel
guest ok = no
writable = yes
browsable = yes

[geraldo]
path = /mnt/sdb/geraldo
valid users = geraldo
guest ok = no
writable = yes
browsable = yes

[indbras]
path = /mnt/sdb/indbras
valid users = indbras
guest ok = no
writable = yes
browsable = yes

[eletronica]
path = /mnt/sdb/eletronica
valid users = eletronica
guest ok = no
writable = yes
browsable = yes





  


2. Re: problema com samba

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 04/06/2019 - 15:28h


o selinux esta ativado ?