LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-29-2004, 09:52 AM   #1
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
Samba + VFS + Recycle


Hi everyone,

I m experiencing a hard time with trying to get Samba work with recycle vfs module.

I have latest stable Samba (3.0.1) running on Red Hat 9. I know that parameters for VFS modules are not located in separate files as they used to be in 2.x versions of samba, but I havent found any example how to do it which would actually work on my server.

This is piece of my smb.conf

Quote:
[test]
path = /home/samba/shares/test
public = yes
writable = yes
create mask = 0777
directory mask = 0777
vfs object = recycle
When I use this settings it works with default options (uses .recycle but keeptree and versions are off)

Can anyone show me how to use this vfs module with specific keeptree, versions, touch and exclude settings?

I tried something like

vfs object = recycle recycle:repository=.kukuruku recycle:versions=True

but it didnt work (was still saving deleted files to .recycle) so i guess its not the right way how to do it

Thanks in advance
 
Old 01-29-2004, 10:55 AM   #2
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Original Poster
Rep: Reputation: 33
Hmm, i think i figured it....
 
Old 02-18-2004, 03:56 PM   #3
fellz
LQ Newbie
 
Registered: Feb 2004
Location: Austria
Distribution: Ubuntu, RedHat 8.0
Posts: 15

Rep: Reputation: 0
hi!

please tell us _how_ you did it...

from where did you get the vfs recyle files?

thanks!
 
Old 02-18-2004, 05:44 PM   #4
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Original Poster
Rep: Reputation: 33
These VFS files come with Samba 3 package. i added
Quote:
vfs object = recycle
recycle:repository=.erased/%u
recycle:versions=True
recycle:touch=True
recycle:keeptree=True
Weird that it worked, I could swear that I used the similar syntax before without success. Anyway I found VFS support quite buggy - there were quite a lot of errors in log files (including samba panic etc) so I decided to turn it off - but I ll try it again in upcomming versions on samba. On the other hand its worth a try, maybe it will work fine for you.

Last edited by muah; 02-18-2004 at 05:45 PM.
 
Old 02-24-2004, 12:20 PM   #5
fellz
LQ Newbie
 
Registered: Feb 2004
Location: Austria
Distribution: Ubuntu, RedHat 8.0
Posts: 15

Rep: Reputation: 0
many thanks for your reply!

i'll try to get it working using the options you supplied.

fellz
 
Old 12-07-2005, 05:52 PM   #6
fellz
LQ Newbie
 
Registered: Feb 2004
Location: Austria
Distribution: Ubuntu, RedHat 8.0
Posts: 15

Rep: Reputation: 0
thanks a lot!

i'm still using VFS and it works like a charm.

fellz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba and Windows Recycle Bin scottpioso Linux - General 1 05-01-2009 02:29 PM
Samba VFS doza Linux - Software 6 04-08-2005 06:24 AM
VFS samba module principino Programming 0 01-28-2004 12:09 PM
vfs object samba tirtaps Linux - Software 0 10-02-2003 01:48 AM
Samba 3.0 Recycle VFS modules JPS Linux - Networking 0 06-24-2003 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration