riobravo
(usa Debian)
Enviado em 06/09/2012 - 12:48h
Boa tarde, estou tentando instalar a lixeira para cada usuario e gostaria de saber se esta certo minha configuração, a pasta do usuario aparece mas a lixeira nao, peço ajuda para resolver este problema.
abraços
[global]
workgroup = brasil
netbios name = grajau
server string = %h PDC Samba
os level = 100
vfs objects = recycle
recycle:exclude = *.tmp, *.log, *.obj, ~*.*, *.bak, *.bak, *.iso
recycle:keeptree = yes
recycle:touch = yes
recycle:versions = yes
recycle:noversions = .doc|.xls|.ppt
recycle:repository = /home/samba/trash/%u
writable = yes
# valid users = %s
recycle:maxsize = 10000000
create mask = 0777
directory mask= 0777
; Quais Interfaces o Samba irá escutar
; interfaces = eth1, eth2, lo
interfaces = eth0
bind interfaces only = yes
# Servidor WINS
wins support = yes
wins proxy = no
dns proxy = no
max wins ttl = 518400
name resolve order = wins bcast hosts
; Opções de log
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
guest account = nobody
# invalid users = root
admin users = admin
unix password sync = yes
pam password change = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
domain master = yes
domain logons = yes
preferred master = yes
logon drive = H:
logon home = \\%N\%U
; logon path = \\%L\profiles\%U
logon script = script.cmd
add machine script = /usr/sbin/useradd -d /dev/null -s /bin/false -c "%u Maquina Windows" %u
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; unix charset = iso-8859-1
; Indica qual máquina é o servidor de hora
; time server = 172.16.1.1
[homes]
# comment = Diretorio Pessoal
browseable = no
writable = yes
create mask = 0700
directory mask = 0700
valid users = %S
recycle:repository = /var/samba/trash/%u
[netlogon]
# comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = no
# share modes = no
[DADOS]
# comment = diretório da empresa
path = /home
writable = yes
write list = @grpdados @grpsuporte
[LIXEIRA]
path = /home/samba/trash/%U
writable = yes
create mask = 0775
directory mask = 0775
browseable = yes
recycle:versions = yes