VFS examples

Ewout Prangsma e.prangsma at daisysoftware.com
Tue Oct 30 09:34:12 GMT 2001


Hello Simon,

I'm working on a Java bridge, so I've implemented a samba VFS that 
routes all calls to a Java Virtual machine.
I've encountered the same problems you have, the "solution" I'm using is 
not to use any of the smbd symbols. It seems that smbd gets strip'ed on 
install after which all dynamic linking goes wrong.
Maybe there should be an unstripped version of smbd, or the VFS 
interface should be extended to pass some function pointers.

Please let me know if you're interested, then I can send you some of my 
stuff.

Regards
Ewout


smh at sophos.com wrote:

> I downloaded Samba-2.2.2, got the VFS examples to compile OK, but
> there are some unresolved symbol errors when smbd loads the module,
> which is presumably why it doesn't work.
> 
> Has anyone got this working or is it a bit of a lost cause?  It seemed
> a lot easier to hack open.c, close.c and so on rather than doing this
> the 'proper' way.
> 
> I really would like to use the VFS interface but I can't see an easy
> way at the moment - too many unknowns and not enough support.  There's
> a pointer in examples/VFS/README to additional docs but I can't find them
> in the distribution.  Are they somewhere else?
> 
> thanks for any help,
> 
> -Simon.
> 
> 
> --
> Simon Harrison, Senior Software Engineer                  Sophos Anti-Virus
> http://www.sophos.com                           UK Support: +44 1235 559933
> 
> 
> 
> 



-- 
Ewout Prangsma, Directeur
Daisy Software
Telefoon: +31-77-3270305
Email: e.prangsma at daisysoftware.com
Website: www.daisysoftware.com





More information about the samba-technical mailing list