Re: [Samba] Re: i need recycle bin configuration

2004-07-23 Thread Holger Krull
Jim C. schrieb:
It does exist. On a Mandrake box, if you change to the profile directory:
cd /var/lib/samba/profiles/[username]
and then use
/../../../home/%U/Trash
then what you find is that you are in the /home/[username]/Trash 
directory which lies within the bounds of the homes share.
That's confusing to me. How can one go above root directory? 


The idea was centralized trash. You must admit that it would be nice to 
be able to find all the trash in one place for one user.
Hm, maybe nice for the user.
But if you want to achieve this with the path for recycle that would mean copying the 
data around instead of moving? Bad idea. I don't think recycle works that way. Maybe 
you could make links to all recycle paths somewhere and share them.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: i need recycle bin configuration

2004-07-22 Thread Christoph Scheeder
Hi,
you are trying to use the option wrong.
In 3.x it does not take a path anymore. Only the name of the vfs-object.
These objects are now located in a standard-path in the samba-lib directory.
the option vfs object = recycle is working fine for me with
samba-3.0.5.
Christoph
Jim C. schrieb:
OK, read the docs but it is still not working for me.
What happens is that if I put
vfs object = [path]
in [homes] then try to log in and I get no QuickLaunch icons and no 
access to My Documents-//enigma/njim/Documents.  It seems like it is 
basically denying access to the homes share.  This is where I'm 
redirecting Application Data and My Documents so that would explain the 
problems. Wonder if I should be checking bugzilla?  My version is 3.0.2a

Jim C.
excerpt from that mail:
  complete configuration now goes into smb.conf, no need to create a
  separate file for it.
 
 vfs object = recycle
 recycle:repository = .Papierkorb/%U

Now, that's great. And really works. And testparm goes crazy if i ad 
all this, it repeats that part maybe 10 times.

Can someone please tell me where to find doku on all these parameters 
for recycle? Google wasn't that helpful this time.



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


Re: [Samba] Re: i need recycle bin configuration

2004-07-22 Thread Holger Krull
Jim C. schrieb:
Got it partially working. I note that this works
recycle:repository = %U/Trash

and this does not:
recycle:repository = /../../../home/%U/Trash
No surprise here, what should this give as a result? A path like that does not 
exist, as far as i know.
Why not the suggested 
recycle:repository = .recycle/%U 

Works like a charm. 



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


Re: [Samba] Re: i need recycle bin configuration

2004-07-21 Thread Christoph Scheeder
Ermm...
have you read the complete mail from me? ;-)
it's all described at the bottom of it for 3.x
excerpt from that mail:
 for the samba 3.x-branch the procedure has changed completly.
 The VFS modules have been integrated in the normal make/install
 process, so you don't have to compile them for your on, and the
 complete configuration now goes into smb.conf, no need to create a
 separate file for it.

for example i use the folowing lines in my [homes] section:

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

and it works out of the box like a charm
have a nice day.
Christoph
Jim C. schrieb:
How do we do it on Samba 3.x?

Hi,
there are a few things to do to get this working with samba-2.x.x:

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


Re: [Samba] Re: i need recycle bin configuration

2004-07-21 Thread Weißmann Philipp
Hi Jim,


Your configuration could look like this:

[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   guest ok = yes
   public = yes
#  Use Recycler Modul (check your path !)
   vfs object = /usr/lib/samba/vfs/recycle.so
#  Name of the directory the trash will be stored in
   vfs object = recycle:repository=.recycle
#  Keep multiple versions of deleted files
recycle:versions=True
#  Touch files on recycling
recycle:touch=True
#  Keep the tree when deleting whole structures
recycle:keeptree=True

Philipp Weissmann



How do we do it on Samba 3.x?


 Hi,
 there are a few things to do to get this working with samba-2.x.x:

Jim C.
-- 

-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844|
|---|
| Y!: j_c_llings   Jabber: [EMAIL PROTECTED]   |
-

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

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


Re: [Samba] Re: i need recycle bin configuration

2004-07-21 Thread Holger Krull

excerpt from that mail:
  complete configuration now goes into smb.conf, no need to create a
  separate file for it.
 
 vfs object = recycle
 recycle:repository = .Papierkorb/%U
Now, that's great. And really works. 
And testparm goes crazy if i ad all this, it repeats that part maybe 10 times.

Can someone please tell me where to find doku on all these parameters for recycle? 
Google wasn't that helpful this time.

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


Re: [Samba] Re: i need recycle bin configuration

2004-07-21 Thread Christoph Scheeder
Hi,
if testparm goes crazy on these parameters, are you shure its the
testparm matching the smbd you are running? perhaps its a leftover older 
version which doesnt know these values? mine doesn't complain.
And yes the doc's for this are not easy to find.
AFAIR i found these parameters in the HTML-doc's comming with the new 
versions of samba.
Christoph

Holger Krull schrieb:

excerpt from that mail:
  complete configuration now goes into smb.conf, no need to create a
  separate file for it.
 
 vfs object = recycle
 recycle:repository = .Papierkorb/%U

Now, that's great. And really works. And testparm goes crazy if i ad all 
this, it repeats that part maybe 10 times.

Can someone please tell me where to find doku on all these parameters 
for recycle? Google wasn't that helpful this time.


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


Re: [Samba] Re: i need recycle bin configuration

2004-07-21 Thread Holger Krull
testparm matching the smbd you are running? perhaps its a leftover older 
version which doesnt know these values? mine doesn't complain.
No, it is the same version, i tested on a 3.0.5rc1-SUSE. Seems there is more 
broken than that.
Swat doesn't work right and the html help seems incomplete, but only testing

And yes the doc's for this are not easy to find.
Now i that i know what to look for...
It's even in the Samba-HOWTO-Collection.pdf.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba