[Samba] example configuration for VFS recycle

Christoph Scheeder christoph.scheeder at scheeder.de
Wed May 26 17:09:37 GMT 2004


Hi,

Olaf Eichhorn, Vermessungsbüro Pfeifer schrieb:

> Hi SAMBA users
> 
> Can anybody give me an working part of an smb.conf for vfs recycle?
> I use SAMBA 3.0.2-7 on Fedora Core 1
> I have read the samba howto and now I know the possible options but not 
> the right syntax. I found only examples for SAMBA 2.x.
> 
> I tried the following (smb.conf ) but it isn't working for the specific 
> share Daten
> 
> [Daten]
> 
> vfs objects = recycle

this should read
   vfs object = recycle

>     recycle:repository = Papierkorb
>     recycle:versions = True
>     recycle:touch = True
>     recycle:keeptree = True
>     recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.ba0
>     recycle:exclude_dir = /tmp|/temp|/cache
> 

try this one, works fine for me

    vfs object = recycle
    recycle:repository = .Papierkorb/%U
    recycle:keeptree = Yes
    recycle:touch = Yes
    recycle:versions = Yes
    recycle:maxsize = 0
    recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??
    recycle:excludedir = /tmp|/temp|/cache
    recycle:noversions = *.doc|*.xls|*.ppt

Christoph

> Is it possible to make the recycle folder user specific with the %U 
> option??
> 
> thanks for Your help
> 
> Olaf



More information about the samba mailing list