pauloandrade
(usa Ubuntu)
Enviado em 17/05/2010 - 15:48h
desculpe ae, tava me esquecendo de postar o smb.conf. Meu objetivo é criar, para cada pasta privada, uma senha diferente.
; /etc/smb.conf
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
[global]
workgroup = soft-services
server string = Servidor Linux
netbios name = fenix-server
preferred master = yes
security = share
max log size = 100
domain logons = No
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = yes
domain master = No
hosts allow = all
wins support = Yes
keepalive = 20
socket options = TCP_NODELAY IPTOS_LOWDELAY
## Share disabled by YaST
# [netlogon]
; comment = Network Logon Service
; path = /home/netlogon/
;guest ok = yes
;share modes = no
[net]
comment = Pasta Pública
path = /net
read only = no
public = yes
browseable = yes
writable = yes
guest ok = yes
printable = no
# create mode = 0777
[cdrom]
comment = Drive DVD
path = /mnt/cdrom
read only = yes
locking = no
public = yes
browseable = yes
guest ok = yes
printable = no
[printers]
comment = All Printers
browseable = yes
printable = yes
public = yes
read only = yes
create mode = 0700
directory = /temp
guest ok = yes
[diretoria]
comment = Setor Diretoria
path = /home/pastas/diretoria
read only = no
public = yes
browseable = yes
writable = yes
guest ok = yes
printable = no
valid users = @diretoria
[financeiro]
comment = Setor Financeiro
path = /home/pastas/financeiro
read only = no
public = yes
browseable = yes
writable = yes
guest ok = yes
printable = no
valid users = @financeiro
[tesouraria]
comment = Setor Tesouraria
path = /home/pastas/tesouraria
read only = no
public = yes
browseable = yes
writable = yes
guest ok = yes
printable = no
valid users = @tesouraria
[pessoal]
comment = Setor Pessoal
path = /home/pastas/pessoal
read only = no
public = yes
browseable = yes
writable = yes
guest ok = yes
printable = no
valid users = @pessoal
[sbe]
comment = Setor SBE
path = /home/pastas/sbe
read only = no
public = yes
browseable = yes
writable = yes
guest ok = yes
printable = no
valid users = @sbe
[manutencao]
comment = Setor Manutenção
path = /home/pastas/manutencao
read only = no
public = yes
browseable = yes
writable = yes
guest ok = yes
printable = no
valid users = @manutencao
[estoque]
comment = Setor Estoque
path = /home/pastas/estoque
read only = no
public = yes
browseable = yes
writable = yes
guest ok = yes
printable = no
valid users = @estoque
[trafego]
comment = Setor Tráfego
path = /home/pastas/trafego
read only = no
public = yes
browseable = yes
writable = yes
guest ok = yes
printable = no
valid users = @trafego