rodrigo_miguel
(usa Red Hat)
Enviado em 29/06/2011 - 14:18h
Ola,
Tenho um servidor em minha rede rodando o SAMBA esta funcionando, so tenho um problema as maquinas CLIENTES ubuntu nao estao pedindo autenticação de usuario para entrar no SAMBA e entrando direto com todas as permissoes.
meu samba e basico nao tem LDAP, tem apenas autenticaçao de usuarios e umas permissoes.
Gostaria que analisassem o meu smb.conf,e se possivel ajudar a resolver este problema.
Grato desde ja.
SEGUE O MEU smb.conf
[global]
workgroup = ARQUIVOS BPEB
security = user
netbios name = arquivos
server string = Servidor de Arquivo BPEB
encrypt passwords = true
local master = yes
os level = 99
domain master = yes
domain logons = yes
preferred master = yes
wins support = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n *Retype*new*password* %n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = yes
guest account = nobody
[BOLETINS]
comment = BOLETIN INTERNO BPEB
path = /home/boletin
public = yes
create mask = 0777
directory mask = 0777
browseable = yes
share modes = yes
guest ok = yes
writable = yes
write list = cbsales cbmateus teste
read only = yes
[PUBLICO]
path = /home/PUBLICO/
comment = Pasta Publica de Todas as Divisoes
create mask = 0777
directory mask = 0777
#veto files = *.com/*.jpg/*.flv/*.jpeg/*.mpeg/*.png/*.gif/*.bmp/*.wma/*.inf/*.mp3/*.cmd/*.bat/*.pif/*.rmvb/*.avi/*.mpg/*.exe/*.{*} #Arquivos proibidos de serem copiados para o servidor.
public = yes
available = yes
browsable = yes
share modes = yes
guest ok = yes
read only = yes
writable = yes
[BPEB]
path = /home/BPEB/
comment = Pasta do bpeb
create mask = 0777
directory mask = 0777
public = yes
ready only = no
#veto files = *.com/*.jpg/*.flv/*.jpeg/*.mpeg/*.png/*.gif/*.bmp/*.wma/*.inf/*.mp3/*.cmd/*.bat/*.pif/*.rmvb/*.avi/*.mpg/*.exe/*.{*} #Arquivos proibidos de #serem copiados para o servidor.
valid users = pe miguel invasor bpeb
write list = miguel invasor bpeb
available = yes
writeable = no
browsable = yes
guest ok = no
[1 SECAO]
path = /home/s1
comment = Arquivos S1
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
share modes = yes
browseable = yes
writable = no
write list = s1 teste
public = yes
[3 SECAO]
path = /home/s3
comment = Arquivos S3
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = s3 teste
public = yes
[4 SECAO]
path = /home/s4
comment = Arquivos S4
create mask = 0777
directory mask = 0777
ready only = yes
share modes = yes
guest ok = yes
browseable = yes
writable = no
write list = s4 teste
public = yes
[SPP]
path = /home/spp
comment = Arquivos SPP
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = spp teste
public = yes
[NUCLEO DE CURSO]
path = /home/nucleo_de_curso
comment = Arquivos nucleo de curso
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = curso teste
public = yes
[SECMOB]
path = /home/secmob
comment = Arquivos cao Molizadora
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = secmob teste
public = yes
[SECRETARIA]
path = /home/secretaria
comment = Arquivos da Secretaria
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = secretaria teste
public = yes
[TESOURARIA]
path = /home/tesouraria
comment = Arquivos da Tesouraria
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = tesouraria teste
public = yes
[SUPORTE DOCUMENTAL]
path = /home/suporte_documental
comment = Arquivos Suporte Documental
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = supdoc teste
public = yes
[PEG]
path = /home/peg
comment = Arquivos Do Peg
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = peg teste
public = yes
[ASSESSORIA JURIDICA]
path = /home/juridica
comment = Arquivos assessoria_juridica
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = juridica teste
public = yes
[COMANDANTE]
path = /home/comandante
comment = Arquivos do Cmt do Btl
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = cmt teste
public = yes
[SUB COMANDANTE]
path = /home/sub_comandante
comment = Arquivos do Sub Cmt do Btl
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = subcmt teste
public = yes
[FORMACAO SANITARIA]
path = /home/fs
comment = Arquivos da Forcao Sanitaria
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = fs teste
public = yes
[RELACOES PUBLICAS]
path = /home/rp
comment = Arquivos Relacoes Publicas
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = rp teste
public = yes
[1CIA]
path = /home/1cia
comment = Arquivos 1 companhia
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = 1cia teste
public = yes
[2CIA]
path = /home/2cia
comment = Arquivos 2 companhia
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = 2cia teste
public = yes
[3CIA]
path = /home/3cia
comment = Arquivos 3 companhia
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = 3cia teste
public = yes
[CEG]
path = /home/ceg
comment = Arquivos companhia escolta e guarda
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = ceg teste
public = yes
[CCSv]
path = /home/ccsv
comment = Arquivos companhia comando e servico
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = ccs ]ccsv teste
public = yes
[ALMOXARIFADO]
path = /home/almoxarifado
comment = Almoxarifado
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = almoxarifado teste
public = yes
[PIC]
path = /home/pic
comment = Pelotao de Investigacoes Criminais
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = pic
public = yes
[SALC]
path = /home/salc
comment = Secap de Aquisicao Licitacoes e Contratos
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = salc teste
public = yes
[PELOTAO DE MANUTENCAO E TRANSPORTE]
path = /home/pelmnt
comment = Pelotao de manutencao e transporte
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = pelmnt teste
public = yes
[APROVISIONAMENTO]
path = /home/aprovisionamento
comment = Aprovisionamento
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
browseable = yes
share modes = yes
writable = no
write list = aprovisionamento teste
public = yes
[SECINFO]
path = /home/secinfo
comment = secinfo
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
valid users = secinfo
browseable = yes
share modes = yes
writable = yes
public = yes
[OFMU]
path = /home/OFMU
comment = Oficial de municao do bpeb
create mask = 0777
directory mask = 0777
ready only = yes
guest ok = yes
valid users = ofmun teste
write list = ofmun teste
browseable = yes
share modes = yes
writable = yes
public = yes