[Samba] VFS modules (recycle).
Kohei Yoshida
kyoshida at mesco.com
Fri May 17 06:54:02 GMT 2002
I changed a few line to recycle.c that comes with 2.2.4 to get it
working as originally intended. Here is a patch. The idea came from
someone else's posting to this mailing list not too long ago.
Hope this helps.
Kohei
--- recycle-orig.c Fri May 17 09:45:43 2002
+++ recycle.c Wed May 15 10:56:58 2002
@@ -239,9 +239,10 @@
}
base = strrchr(fname, '/') + 1;
- if(base == (char*)1)
+ if(base == (char*)1) {
ext = strrchr(fname, '.');
- else
+ base = fname;
+ } else
ext = strrchr(base, '.');
pstrcpy(bin, recycle_bin);
On Thu, 2002-05-16 at 17:36, Jason C. Leach wrote:
> hi,
>
> That option seems to have corrected the first problem.
>
> Now what I add the VFS object to a share using:
> vfs object = /usr/local/samba/lib/vfs/recycle.so
> vfs options= recycle=.recycle
>
> I get:
> ===============================================================
> [2002/05/16 14:31:59, 0] lib/fault.c:fault_report(39)
> INTERNAL ERROR: Signal 11 in pid 24315 (2.2.4)
> Please read the file BUGS.txt in the distribution
> [2002/05/16 14:31:59, 0] lib/fault.c:fault_report(41)
> ===============================================================
>
> I don't get any errors if I just add teh vfs object =, but then the
> recycle bin does not work.
>
> Thanks.
> j.
>
> --
> ......................
> ..... Jason C. Leach
> ..
>
> Current PGP/GPG Key ID: 43AD2024
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
More information about the samba
mailing list