VFS recycle bin

Andrew Bartlett abartlet at pcug.org.au
Mon Apr 8 04:28:02 GMT 2002


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
> > > > 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

> 
> 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 system, and don't get the
same complier options.  In the same way, passdb moudles can't be built
on RedHat systems without some modification, becouse the kerberos
headers are not in the right place.  

Yet again we see that libtool is an all or nothing thing ;-)

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-technical mailing list