Enviado em 02/01/2014 - 13:10h
Pessoal gostaria de saber como configurar o scannedonly no opensuse
[global]
hosts allow = 158.133.163.0/255.255.255.0
security = user
#Performace
getwd cache = yes
write cache size = 5240288
oplocks = yes
kernel oplocks = no
socket options = TCP_NODELAY SO_RCVBUF=102400 SO_SNDBUF=102400
#Diretivas de Eleições de master browser
local master = yes
domain master = yes
preferred master = yes
os level = 100
#Habilita servidor SAMBA à WINS
wins support = Yes
max wins ttl = 100
dns proxy = no
name resolve order = wins bcast hosts lmhosts
#Configurações de log
panic action = /usr/share/samba/panic-action %d
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
#Habilita suporte a senhas criptografadas
encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd
#Configuraçẽs NetBIOS
workgroup = suse
netbios name = opensuse
server string = servidor opensuse
#Mapeamento ao guest do servidor
admin users = administrador,root
map to guest = Bad User
guest account = convidado
username level = 3
usershare allow guests = No
passdb backend = smbpasswd
#Virtual File System
vfs objects = recycle full_audit
#Auditoria
full_audit:success = open,opendir,write,unlink,rename,mkdir,rmdir
full_audit:prefix = %u|%I|%S
full_audit:failure = none
full_audit:facility = local5
full_audit:priority = notice
#Lixeira
recycle:facility = LOCAL1
recycle:priority = NOTICE
recycle:maxsize = 0
recycle:repository = /home/samba/lixeira/%U
recycle:directory_mode = 0777
recycle:subdir_mode = 0777
recycle:keeptree = yes
recycle:touch = yes
recycle:exclude = *tmp,*.log,*.iso,*.wav,*.mp3,*.wmv,*.avi
recycle:exclude_dir = tmp,temp,cache
recycle:versions = yes
recycle:noversions = .doc|.xls|.ppt|*.dcl
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
guest ok = yes
browseable = No
create mask = 0600
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
guest ok = yes
##### Compartilhamentos #####
[publico]
comment = sem restricao
guest ok = yes
hide files = /cobian
create mask = 0666
directory mask = 0777
writable = yes
browseable = yes
path = /home/samba/publico
max connections = 0
# available = yes ( faz o SAMBA ignorar o comparttilhamento,como se stivesse retirado do servidor)
[lixeira]
comment = lixeira geral
path = /home/samba/lixeira/%U
guest ok = yes
directory mask = 0777
create mask = 0777
browseable = yes
max connections = 0
writable = yes
[adm-tec]
comment = restrito ao setor
path = /home/samba/adm-tec
browseable = yes
max connections = 10
read only = no
veto files = /*.bat/*.exe/*.avi/*.wmv/*.mov/*.flv/*.mp4/*rmvb/*iso/*.mp3
valid users = @gestao,scanner
write list = @gestao,scanner
create mask = 0664
directory mask = 0774
[showroom]
comment = restrito ao setor
path = /home/samba/showroom
browseable = yes
read only = no
write list = @showroom,scanner
veto files = /*.bat/*.exe/*.avi/*.wmv/*.mov/*.flv/*.mp4/*rmvb/*iso/*.mp3
create mask = 0664
directory mask = 0774
valid users = @showroom,scanner
max connections = 10
[vendas]
comment = restrito ao setor
path = /home/samba/vendas
browseable = yes
writable = yes
write list = @vendas,scanner
veto files = /*.bat/*.exe/*.avi/*.wmv/*.mov/*.flv/*.mp4/*rmvb/*iso/*.mp3
create mask = 0664
directory mask = 0774
valid users = @vendas,scanner
[adm]
comment = restrito ao setor
path = /home/samba/adm
browseable = yes
writable = yes
write list = @adm,scanner
veto files = /*.bat/*.exe/*.avi/*.wmv/*.mov/*.flv/*.mp4/*rmvb/*iso/*.mp3
create mask = 0664
directory mask = 0774
valid users = @adm,scanner
[oficina]
comment = restrito ao setor
path = /home/samba/oficina
max connections = 10
browseable = yes
read only = no
write list = @oficina,scanner
veto files = /*.rmvb/*.avi/*.mp4/*.mp3/*.wmv/*.flv/*.wmv/*.mp3
create mask = 0664
directory mask = 0774
valid users = @oficina,scanner
[leonardo]
comment = restrito
path = /home/samba/leonardo
max connections = 5
browseable = yes
read only = no
write list = @sambausers
valid users = @sambausers
create mask = 0664
directory mask = 0774
[laurentino]
comment = restrito
path = /home/samba/laurentino
max connections = 5
browseable = yes
writable = yes
write list = @sambausers
valid users = @sambausers
create mask = 0664
directory mask = 0774
[recepcao]
comment = restrito ao setor
path = /home/samba/recepcao
browseable = yes
max connections = 5
read only = no
veto files = /*.bat/*.exe/*.avi/*.wmv/*.mov/*.flv/*.mp4/*rmvb/*iso/*.mp3
valid users = @sambausers
write list = @sambausers
create mask = 0664
directory mask = 0774
[alexandre]
comment = restrito
path = /home/samba/alexandre
max connections = 5
browseable = yes
read only = no
write list = @sambausers
valid users = @sambausers
create mask = 0664
directory mask = 0774
[FAX]
comment = fax
path = /home/samba/fax
browseable = yes
read only = no
guest ok = yes
veto files = /*.bat/*.exe/*.avi/*.wmv/*.mov/*.flv/*.mp4/*rmvb/*iso/*.mp3
max connections = 0
create mask = 0666
directory mask = 0777
Compartilhando a tela do Computador no Celular via Deskreen
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
Como renomear arquivos de letras maiúsculas para minúsculas
Imprimindo no formato livreto no Linux
Vim - incrementando números em substituição
Efeito "livro" em arquivos PDF
Como resolver o erro no CUPS: Unable to get list of printer drivers
Não to conseguindo resolver este problemas ao instalar o playonelinux (1)
Excluir banco de dados no xampp (1)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta