[Samba] Re: Recycle does not work in [homes]

2004-11-13 Thread Robert S
 Send your conf please.

Incidentally  - I've done a workaround where 
/home/user/.documents/RECYCLER is symlinked to a location in /tmp.  Seems 
to achieve a similar result.  I'd be interested to know whats happening here 
though.

smb.conf:

[global]
workgroup = HOME
netbios name = MYSERVER
server string = Samba Server
encrypt passwords = Yes
smb passwd file = /etc/samba/private/smbpasswd
log file = /var/log/samba.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
lock dir = /var/lock/samba
printing = cups
printcap name = cups

time server = yes
dos filetimes = yes
fake directory create times = yes
dos filetime resolution = yes
delete readonly = yes

vfs object = vscan-clamav,recycle
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
recycle: config-file = /etc/samba/recycle.conf

[homes]
comment = Home Directories
path = /home/%S/.documents
valid users = %S
read only = No
browseable = No

[public]
path = /pub
create mask = 774
force group = users
read only = No
guest ok = Yes
browseable = yes

[printers]
comment = All Printer
path = /var/spool/samba
browseable = yes
printable = yes

My recycle.conf:

name = .recycle
mode = KEEP_DIRECTORIES|VERSIONS|TOUCH
maxsize = 1000
exclude = *.tmp|*.temp|*.o|*.obj|~$*
excludedir = /tmp|/temp|/cache
noversions = *.doc|*.xls|*.ppt



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Recycle does not work in [homes]

2004-11-13 Thread Holger Krull
My recycle.conf:
name = .recycle
mode = KEEP_DIRECTORIES|VERSIONS|TOUCH
maxsize = 1000
exclude = *.tmp|*.temp|*.o|*.obj|~$*
excludedir = /tmp|/temp|/cache
noversions = *.doc|*.xls|*.ppt
You are using samba 2.x.
I don't know about recycle there, sorry
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Recycle does not work in [homes]

2004-11-13 Thread Matthias Spork
Hallo Robert,
I put the recycle-configuration in every share, I want to activate it for.
[homes]
   comment = Home Directories
   path = /home/%S/.documents
   valid users = %S
   read only = No
   browseable = No
   vfs object = recycle
   recycle:repository=.recycle
   recycle:versions=True
   recycle:keeptree=True
[]
matze
Robert S schrieb:
Send your conf please.
   

Incidentally  - I've done a workaround where 
/home/user/.documents/RECYCLER is symlinked to a location in /tmp.  Seems 
to achieve a similar result.  I'd be interested to know whats happening here 
though.

smb.conf:
[global]
   workgroup = HOME
   netbios name = MYSERVER
   server string = Samba Server
   encrypt passwords = Yes
   smb passwd file = /etc/samba/private/smbpasswd
   log file = /var/log/samba.log
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   lock dir = /var/lock/samba
   printing = cups
   printcap name = cups
   time server = yes
   dos filetimes = yes
   fake directory create times = yes
   dos filetime resolution = yes
   delete readonly = yes
   vfs object = vscan-clamav,recycle
   vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
   recycle: config-file = /etc/samba/recycle.conf
[homes]
   comment = Home Directories
   path = /home/%S/.documents
   valid users = %S
   read only = No
   browseable = No
[public]
   path = /pub
   create mask = 774
   force group = users
   read only = No
   guest ok = Yes
   browseable = yes
[printers]
   comment = All Printer
   path = /var/spool/samba
   browseable = yes
   printable = yes
My recycle.conf:
name = .recycle
mode = KEEP_DIRECTORIES|VERSIONS|TOUCH
maxsize = 1000
exclude = *.tmp|*.temp|*.o|*.obj|~$*
excludedir = /tmp|/temp|/cache
noversions = *.doc|*.xls|*.ppt

 

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba