Re: [Samba] How does Samba delete files ?

2003-09-16 Thread Bruno Tobias Stella
John H Terpstra [EMAIL PROTECTED] wrote:

 On Mon, 15 Sep 2003, Bruno Tobias Stella wrote:
 
  Hi !
 
I'd like to know how does Samba delete files, because I need do
  something to instead Samba removes files, it moves the deleted
  files  to another directory, like a Netware Salvage File or a
  Windows Trash Can.
 
 Oh, you mean like the recycle.so module for samba does. 
 Fancy that, it's there already!

 Yes! It's fantastic ! Congratulations !  


 Refer to the Samba-HOWTO-Collection.pdf available from:
 
 http://us1.samba.org/samba/devel/docs/Samba-HOWTO-Collection.pdf
 
 See chapter 20.
 
 If this does not answer your needs, please let me know 
 in time before Friday so I can fix the documentation 
 before Samba-3.0.0 ships and before the HOWTO goes to 
 the publisher.

 Ok, I read the documentation, but I have some problems:

1) I use Samba-2.2.5 and Samba-2.2.8a, and I didn't get configure
VFS in them.
2) But before, I think that I don't know configure Samba to use
VFS. Is necessary make some diferent configuration ? I didn't find
something like --with-vfs in ./configure .
3) And if only in Samba-3 this recycle will be available, is there
an estimate about when Samba-3 will be a production version?

Thanks again!

 
 - John T.
 -- 
 John H Terpstra
 Email: [EMAIL PROTECTED]
--- End of Original Message ---

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


Re: [Samba] How does Samba delete files ?

2003-09-16 Thread John H Terpstra
On Tue, 16 Sep 2003, Bruno Tobias Stella wrote:

 John H Terpstra [EMAIL PROTECTED] wrote:

  On Mon, 15 Sep 2003, Bruno Tobias Stella wrote:
 
   Hi !
  
 I'd like to know how does Samba delete files, because I need do
   something to instead Samba removes files, it moves the deleted
   files  to another directory, like a Netware Salvage File or a
   Windows Trash Can.
 
  Oh, you mean like the recycle.so module for samba does.
  Fancy that, it's there already!

  Yes! It's fantastic ! Congratulations !


  Refer to the Samba-HOWTO-Collection.pdf available from:
 
  http://us1.samba.org/samba/devel/docs/Samba-HOWTO-Collection.pdf
 
  See chapter 20.
 
  If this does not answer your needs, please let me know
  in time before Friday so I can fix the documentation
  before Samba-3.0.0 ships and before the HOWTO goes to
  the publisher.

  Ok, I read the documentation, but I have some problems:

 1) I use Samba-2.2.5 and Samba-2.2.8a, and I didn't get configure
 VFS in them.

Older implementation. You need to refer to the documentation that is in
the old source code under the ~samba/examples/VFS directory for
information about how to configure them.

 2) But before, I think that I don't know configure Samba to use
 VFS. Is necessary make some diferent configuration ? I didn't find
 something like --with-vfs in ./configure .

No. You had to build the modules separately - they had not yet been
integrated into the main code base.

 3) And if only in Samba-3 this recycle will be available, is there
 an estimate about when Samba-3 will be a production version?

Less than 1 week. Samba-3.0.0rc4 is essentiall release code.

- John T.


 Thanks again!

 
  - John T.
  --
  John H Terpstra
  Email: [EMAIL PROTECTED]
 --- End of Original Message ---

 Bruno Stella


-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] How does Samba delete files ?

2003-09-15 Thread Bruno Tobias Stella
Hi !

  I'd like to know how does Samba delete files, because I need do
something to instead Samba removes files, it moves the deleted
files  to another directory, like a Netware Salvage File or a
Windows Trash Can.
  

Thanks,

Bruno Stella
[EMAIL PROTECTED]
Setor de Redes - Secretaria de Informatica
Tribunal Regional do Trabalho da 15a. Regiao
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] How does Samba delete files ?

2003-09-15 Thread Michael Heironimus
On Mon, Sep 15, 2003 at 04:52:44PM -0300, Bruno Tobias Stella wrote:
   I'd like to know how does Samba delete files, because I need do
 something to instead Samba removes files, it moves the deleted
 files  to another directory, like a Netware Salvage File or a
 Windows Trash Can.

A standard Samba setup just deletes the files immediately. You want to
look at the recycle VFS module, which does what you want. I know that
3.0 includes it, but I don't remember if it's bundled with 2.2.8 or if
you'll have to download it.

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


Re: [Samba] How does Samba delete files ?

2003-09-15 Thread John H Terpstra
On Mon, 15 Sep 2003, Bruno Tobias Stella wrote:

 Hi !

   I'd like to know how does Samba delete files, because I need do
 something to instead Samba removes files, it moves the deleted
 files  to another directory, like a Netware Salvage File or a
 Windows Trash Can.

Oh, you mean like the recycle.so module for samba does. Fancy that, it's
there already!

Refer to the Samba-HOWTO-Collection.pdf available from:

http://us1.samba.org/samba/devel/docs/Samba-HOWTO-Collection.pdf

See chapter 20.

If this does not answer your needs, please let me know in time before
Friday so I can fix the documentation before Samba-3.0.0 ships and before
the HOWTO goes to the publisher.


- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] How does Samba delete files ?

2003-09-15 Thread Jeff Squyres
On Mon, 15 Sep 2003, John H Terpstra wrote:

 Oh, you mean like the recycle.so module for samba does. Fancy that, it's
 there already!

 Refer to the Samba-HOWTO-Collection.pdf available from:

 http://us1.samba.org/samba/devel/docs/Samba-HOWTO-Collection.pdf

 See chapter 20.

 If this does not answer your needs, please let me know in time before
 Friday so I can fix the documentation before Samba-3.0.0 ships and
 before the HOWTO goes to the publisher.

If you could add in there how users can recover deleted files, I'd really
appreciate it.

Specifically, I enabled the recycle VFS module and it seems to work
properly (deleted files get moved into the subdirectory that I specified
in recycle:repository), but no recycle bin icon shows up in Windows
Explorer, so there's no way for users to actually restore files.

Please see my [much more detailed] post from earlier today:

   http://lists.samba.org/pipermail/samba/2003-September/000395.html

Thanks!

-- 
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} Research Associate, Open Systems Lab, Indiana University
{+} http://www.osl.iu.edu/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba