Re: VFS recycle bin

2002-04-08 Thread Juergen Hasch
Am Montag, 8. April 2002 13:24 schrieb Andrew Bartlett: > > Add -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 to the compiler options > > and it works :-) > > The problem is that the VFS (and passdb for that matter) modules are > libtool based :-). > > They are not created via the normal makefile s

Re: VFS recycle bin

2002-04-08 Thread Andrew Bartlett
Juergen Hasch wrote: > > Am Sonntag, 7. April 2002 15:07 schrieb Andrew Bartlett: > > Rainer Link wrote: > > > Juergen Hasch schrieb: > > > > > > [..] > > > > > > > The recycle bin can be configured with the file > > > > /etc/samba/recycle_bin.conf: [ recycle bin ] > > > > name = .recycle > > > >

Re: VFS recycle bin

2002-04-07 Thread Jeremy Allison
On Sun, Apr 07, 2002 at 01:18:07PM +0100, Rainer Link wrote: > Juergen Hasch schrieb: > > [..] > > > The recycle bin can be configured with the file /etc/samba/recycle_bin.conf: > > [ recycle bin ] > > name = .recycle > > maxsize = 10 > > exclude = .tmp.temp.o > > excludedir = /tmp/temp/ > >

Re: Fwd: Re: VFS recycle bin

2002-04-07 Thread Rainer Link
Juergen Hasch wrote: > I am using > vfs options = /etc/samba/recycle.conf > and this works, at least as long as there are no stackable VFS modules :-) Hum, yes. Using an own conf-file is of course possible, yes. > > Hum, I can confirm this. I've used stat() in the past and switched to

Re: VFS recycle bin

2002-04-07 Thread Juergen Hasch
Am Sonntag, 7. April 2002 15:07 schrieb Andrew Bartlett: > Rainer Link wrote: > > Juergen Hasch schrieb: > > > > [..] > > > > > The recycle bin can be configured with the file > > > /etc/samba/recycle_bin.conf: [ recycle bin ] > > > name = .recycle > > > maxsize = 10 > > > exclude = .tmp.temp.

Fwd: Re: VFS recycle bin

2002-04-07 Thread Juergen Hasch
Am Sonntag, 7. April 2002 14:18 schrieb Rainer Link: > Juergen Hasch schrieb: > > [..] > > > The recycle bin can be configured with the file > > /etc/samba/recycle_bin.conf: [ recycle bin ] > > name = .recycle > > maxsize = 10 > > exclude = .tmp.temp.o > > excludedir = /tmp/temp/ > > > > It's

Re: VFS recycle bin

2002-04-07 Thread Andrew Bartlett
Rainer Link wrote: > > Juergen Hasch schrieb: > > [..] > > > The recycle bin can be configured with the file /etc/samba/recycle_bin.conf: > > [ recycle bin ] > > name = .recycle > > maxsize = 10 > > exclude = .tmp.temp.o > > excludedir = /tmp/temp/ > > > > It's hardcoded for now because vfs

Re: VFS recycle bin

2002-04-07 Thread Rainer Link
Juergen Hasch schrieb: [..] > The recycle bin can be configured with the file /etc/samba/recycle_bin.conf: > [ recycle bin ] > name = .recycle > maxsize = 10 > exclude = .tmp.temp.o > excludedir = /tmp/temp/ > > It's hardcoded for now because vfs_option doesn't seem to be implemented. Hum,

VFS recycle bin

2002-04-07 Thread Juergen Hasch
Hi Jeremy, I adapted my recycle bin module for Sambs 2.2 by using your recycle bin as a template. With your makefile in examples/VFS I get sizeof(SMB_OFF_T) = 8 in smbd and sizeof(SMB_OFF_T) = 4 in recycle.so I had lots of Samba segfaults using my VFS module before, when working with this con