[Samba] recovering files from .recyle

Mike Stewart mike at powys-training.co.uk
Mon May 24 12:54:24 GMT 2004


Hi Matze/Robin.  I put the lines Matze suggested into my [Mike] share but
running testparm gives the following errors (it does pass "vfs objects =
recycle"  OK though).  The lines Robin suggested gave the same errors.

Am I doing wrong ?  Samba 2.2.7a/Slackware Linux

Thanks, Mike.

Errors -
....................................................
Load smb config files from /etc/samba/smb.conf
Processing section "[Ray]"
Processing section "[Karen]"
Processing section "[Private]"
Processing section "[Mike]"
Unknown parameter encountered: "recycle:repository"
Ignoring unknown parameter "recycle:repository"
Unknown parameter encountered: "recycle:versions"
Ignoring unknown parameter "recycle:versions"
Unknown parameter encountered: "recycle:keeptree"
Ignoring unknown parameter "recycle:keeptree"
Loaded services file OK.
....................................................

My smb.conf is :

[global]
workgroup = PTADMIN
netbios name = PTSAMBA
server string = PT Samba Server %v
encrypt passwords = Yes
update encrypted = Yes
ssl CA certDir = /etc/ssl/certs
log file = /var/log/samba/log.%m
max log size = 50
time server = Yes
preferred master = False
local master = No
domain master = False
wins server = 172.16.1.50
hosts allow = 172.16.15.52
veto files = /*.mp3/
hide files =
/DesktopFolderDB/resource.frk/TheVolumeSettingsFolder/TheFindByContentFolder
/

[Ray]
comment = Ray's home directory
path = /staff/ray
write list = ray rayrand
read only = No
inherit permissions = Yes
hosts allow = ray rayrand

[Karen]
comment = Karen's home directory
path = /staff/karen
write list = karen ray
read only = No
hosts allow = karen mike ray

[Private]
comment = For Ray/Mike ONLY
path = /staff
admin users = mike ray rayrand
read only = No
hosts allow = mike ray rayrand PTMaytas

[Mike]
comment = Mike's home directory
path = /staff/mike
write list = mike
read only = No
hosts allow = mike

vfs object = recycle
recycle:repository=.recycle/%U
recycle:versions=True
recycle:keeptree=True


> Robin M. wrote:
>
> >I have created a recylce bin following the how-to, but I cannot figure
out
> >how end users can restore items from the samba recycle bin.
> >
> >
> >
> If you have this in your share:
>
>         vfs object = recycle
>         recycle:repository=.recycle/%U
>         recycle:versions=True
>         recycle:keeptree=True
>
> every user can go to his recycle-folder and restore his own data.
>
> matze
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.687 / Virus Database: 448 - Release Date: 16/05/2004




More information about the samba mailing list