jefferson.gava
(usa Conectiva)
Enviado em 13/09/2007 - 16:08h
ae vai.. se o seu nao ficar lento me avise...
::::::::::::::::::::::::
::::::::::::::::::::::::
[global]
workgroup = SEU GRUPO
netbios name = servidor
server string = Servidor de Arquivos
hosts allow = 192.168.0.
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
log file = /var/log/samba/log.%I
max log size = 50
debug level = 1
security = share
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
logon script = %U_%I.bat
map to guest = never
load printers = yes
printing = lprng
print command = lpr -U%U@%M -P%p -J '%U@%m' %s; rm %s
lpq command = lpq -P%p
lprm command = lprm -U%U@%M -P%p %j
lppause command = /usr/bin/lpc -U%U@%M hold %p %j
lpresume command = /usr/bin/lpc -U%U@%M release %p %j
queuepause command = /usr/bin/lpc -U%U@%M -P%p stop
queueresume command = /usr/bin/lpc -U%U@%M -P%p start
admin users = admin
character set = ISO8859-1
wins support = yes
#oplock limit contention = 1000
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
; vfs object = /usr/lib/samba/vfs/recycle.so
; vfs options = /etc/samba/recycle.conf
[publico]
comment = Pasta Pública
path = /home/samba/public
browseable = no
guest ok = no
writable = no
create mask = 0777
directory mask = 0777
[dados]
comment = Sistemas Internos
path = /home/samba/dados
browseable = yes
guest ok = yes
writable = yes
create mask = 0777
directory mask = 0777
; vfs object = /usr/lib/samba/vfs/recycle.so
; vfs options = /etc/samba/recycle.conf
[vendas]
comment = Departamento de Vendas
path = /home/samba/dpto/vendas
browseable = yes
guest ok = no
writable = yes
create mask = 0777
directory mask = 0777