VFS recycle bin
Juergen Hasch
Hasch at t-online.de
Sun Apr 7 08:17:20 GMT 2002
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 = 100000
> > > exclude = .tmp.temp.o
> > > excludedir = /tmp/temp/
> > >
> > > It's hardcoded for now because vfs_option doesn't seem to be
> > > implemented.
> >
> > Hum, vfs options seems to be implemented in 2.4.4-pre. But, actually, it
> > seems the current code can handle only one vfs options entry, i.e.
> >
> > vfs object = /usr/local/samba/lib/vscan-sophos.so
> > vfs options = abc = 123
> > vfs options = yxz = 321
>
> The smb.conf parser does not know how to handle this - it just stores
> one value in one option space. In the passdb code, the option is
> specifed on the same line as the 'passdb backend' stuff. In the
> stackable passdb stuff, we just make it a list. That makes the option
> syntax a bit long, but quite sensible.
>
> Andrew Bartlett
I hate all these Icons at the mail program, where you can click on any of it
and it's guaranteed the wrong thing will happen :-)
I guess I'm half blind.
I just retested the SMB_OFF_T thing and it's quite obvious:
Compile with supplied makefile:
[2002/04/07 16:56:34, 0] lib/fault.c:fault_report(38)
===============================================================
[2002/04/07 16:56:34, 0] lib/fault.c:fault_report(39)
INTERNAL ERROR: Signal 11 in pid 25981 (2.2.4-pre)
Please read the file BUGS.txt in the distribution
[2002/04/07 16:56:34, 0] lib/fault.c:fault_report(41)
===============================================================
[2002/04/07 16:56:34, 0] lib/util.c:smb_panic(1092)
PANIC: internal error
Add -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 to the compiler options and
it works :-)
I uploaded the patch for the recycle bin to
http://www.elbonia.de/recycle.patch
...Juergen
More information about the samba-technical
mailing list