rodfall
(usa Ubuntu)
Enviado em 24/06/2009 - 15:03h
[global]
netbios name = ServLinux
workgroup = VATICANO
server string = Pequena Casa da Crianca
log file = /var/log/samba/log.%m
security = user
interfaces = lo, eth0
bind interfaces only = Yes
encrypt passwords = yes
enable privileges = yes
socket options =
time server = Yes
os level = 100
local master = yes
preferred master = yes
domain master = yes
domain logons = yes
logon script = %U.bat
logon home = \\10.1.1.21\%U
logon path = X:
wins support = yes
announce as = NT server
admin users = +informatica,+estoque,+financeiro,+administrativo,+dp,+recepcao
add machine script = /usr/bin/adduser -n -r -g machines -d /dev/null -s /bin/false %U
obey pam restrictions = yes
passwd program = /usr/bin/paswd %u
passdb backend = tdbsam
unix password sync = yes
syslog = 0
panic action = /usr/share/samba/panic-action %d
usershare allow guests = yes
max logsize = 1000
pam password change = yes
printing = cups
printcap name = cups
load printers = Yes
[printers]
comment = Todas Impressoras
path = /var/spool/samba
browseable = yes
guest ok = Yes
writable = yes
printable = Yes
public = yes
[special_printers]
comment = Impressora com setup diferenciado
path = /var/spool/sambal
printing = sysv
printcap = lpstat
print command = echo "NEW : 'date' : printfile %f" >> /tmp/smbprn.log ; echo "'date' : p-%p s-%s f-%f" >> /tmp/smbprn.log ; echo "'date': j-%j z-%z c-%c" >> /tmp/smbprn.log ; rm %f
guest ok = Yes
writable = No
printable = Yes
printer admin = root , rodfall , cassiano
hosts deny = 192.168.
hosts allow =10.1.1.
[netlogon]
comment = ServicoLogon
path = /var/samba/netlogon
read only = yes
guest ok = yes
browseable = no
[profiles]
path = /var/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
[homes]
comment = Home Directories
valid users = %S
writeable = Yes
create mask = 0700
directory mask = 0700
browseable = No
read only = No
[arquivos]
path = /mnt/arquivos
writeable = no
write list = +arquivos
valid users = +arquivos
recycle:repository = lixeira
recycle:keeptree = yes
[dp]
path = /mnt/dp
writeable = no
write list = +dp
valid users = +dp , +administracao
recycle:repository = lixeira
recycle:keeptree = yes
[administracao]
path = /mnt/administracao
writeable = no
write list = +administracao
valid users = +administracao
recycle:repository = lixeira
recycle:keeptree = yes
[estoque]
path = /mnt/estoque
writeable = no
write list = +estoque
valid users = +estoque, +administracao
recycle:repository = lixeira
recycle:keeptree = yes
[financeiro]
path = /mnt/financeiro
writeable = no
write list = +financeiro
valid users = +financeiro , +administracao
recycle:repository = lixeira
recycle:keeptree = yes
[informatica]
path = /mnt/informatica
writeable = no
write list = +informatica
valid users = +informatica, +administracao
recycle:repository = lixeira
recycle:keeptree = yes
[recepcao]
path = /mnt/recepcao
writeable = no
write list = +recepcao
valid users = +recepcao , +administracao
recycle:repository = lixeira
recycle:keeptree = yes
[projetos]
path = mnt/projetos
writeable = no
write list = +projetos
valid users = +projetos, +adminsitracao
recycle:repository = lixeira
recycle:keeptree = yes