SMB.CONF Atualizar para o novo.

1. SMB.CONF Atualizar para o novo.

Val
jjunior89

(usa Outra)

Enviado em 24/02/2012 - 16:48h

Boa tarde pessoal, me deem um help aqui, instalei o Debian 6 ( usava Fedora 6, samba 3.0.2 ) com a versão do samba 3.5.6 e tentei jogar o smb.conf, mas só depois da tentativa eu vi que algumas coisas mudaram.. alguém pode mudar ou jogar o seu atualizado para ter uma noção ?


[GLOBAL]
workgroup = salioni
netbios aliases = salioni
server string = Servidor Eniac Salioni
log file = /var/log/samba/log.%m
max log size = 512
oplocks = no
hosts allow = 192.168.10. 127.
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers


add machine script = /usr/sbin/adduser -n -r -g machines -c "Samba machine" -d /dev/null -s /bin/false %u
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
passdb backend = smbpasswd


#socket options = TC_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
os level = 100
wins support = yes

logon path=\\%L\netlogon
idmap uid = 167777216-33554431
idmap gid = 167777216-33554431
template shell = /bin/false

winbind use default domain = no

#________________________________________________________________________________________

[homes]
comment = Area dos usuarios
browseable = no
read only = no
writable = yes
public = no
create mode = 0777
[tools]
comment = Pasta com programas utilitarios
path = /home/tools
public = yes
read only = no
only guest = yes
writable = yes
[netlogon]
comment = Network Logon Service
path = /home/netlogon
public = no
guest ok = yes
writable = yes
share modes = no
admin users = fabson
available = yes
[dpcompc]
comment = Programa dpcompc
path = /home/dpcompc
read only = no
writable = yes
public = no
browseable = no
admin users = junior marcio naor altieres
valid users = junior marcio naor altieres
available = yes
guest only = no
only user = no
[contabilidade]
comment = Compartilhamento para a contabilidade
path = /home/contabilidade
read only = no
writable = yes
public = no
browseable = no
admin users = marcio marta viviane junior valdinei naor altieres
valid users = marcio marta viviane junior valdinei naor altieres
[almoxarifado]
comment = Compartilhamento para almoxarifado
path = /home/almoxarifado
read only = no
writable = yes
public = yes
browseable = no
only guest = yes
[antigo_caixa_banco]
comment = Compartilhamento para o caixa e banco antigo
path = /home/antigo_caixa_banco
read only = no
writable = yes
public = yes
browseable = no
only guest = yes
[caixa_banco]
comment = Compartilhamento para caixa e banco
path = /home/caixa_banco
read only = no
writable = yes
public = yes
browseable = no
only guest = yes
[sait]
comment = Compartilhamento para SAIT
path = /home/sait
read only = no
writable = yes
public = yes
browseable = no
only guest = yes
[pcp]
comment = Compartilhamento para PCP
path = /home/pcp
read only = no
writable = yes
public = yes
browseable = no
only guest = yes
[certificado]
comment = Compartilhamento para Emissao de Certificados
path = /home/certificado
read only = no
writable = yes
public = yes
browseable = no
only guest = yes
available = yes
guest only = no
only user = no
[compartilhado]
path = /home/compartilhado
read only = no
writable = yes
public = yes
browseable = no
only guest = yes
guest only = yes
[printers]
[ORTEGA]
available = yes
browseable = no
path = /ORTEGA
public = yes
guest only = yes
writable = yes
copy = public
comment = Pasta de armazenamento do programa INTSys
admin users = junior marcio marta naor altieres valdinei viviane
valid users = junior marcio marta naor altieres valdinei viviane

[PAT]
available = yes
browseable = no
path = /ORTEGA/PAT
public = yes
guest only = yes
writable = yes
copy = public
comment = Pasta de armazenamento do programa INTSys
admin users = junior marcio marta naor altieres valdinei viviane
valid users = junior marcio marta naor altieres valdinei viviane


[HOME]
available = yes
browseable = no
path = /home
public = yes
guest only = yes
writable = yes
copy = public
comment = home
admin users = junior valdinei
valid users = junior valdinei

[BACKUP]
comment = backup
path = /
read only = no
writable = yes
public = yes
browseable =yes
only guest = yes
guest only = yes
admin users = junior valdinei
valid users = junior valdinei

[zeroberto]
comment = zeroberto
path = /home/zeroberto
read only = no
writable = yes
public = yes
browseable =yes
only guest = yes
guest only = yes
admin users = junior claudio valdinei
valid users = junior claudio valdinei


[NFE]
path = /home/nfe
read only = no
writable = yes
public = yes
browseable = no
only guest = yes
guest only = yes
admin users = zecarmo junior valdinei nivaldo marcio marta viviane
valid users = zecarmo junior valdinei nivaldo marcio marta viviane

[TODOS]
path = /home
path = /ORTEGA
read only = no
writable = yes
public = yes
browseable = no
only guest = yes
guest only = yes
admin users = fabson luciano paulo junior valdinei

[HD]
path = /media/hdexterno
read only = no
writable = yes
public = no
browseable = yes
only guest = yes
guest only = yes
admin users = junior valdinei
valid users = junior valdinei



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts