Hi, attached is a patch and a few new files to make VFS modules work under Solaris and AIX. I have tested it with Solaris 8 using gcc and Sun Workshop cc. For AIX I tested it with gcc and xlc_r. Linux still works, too :-)
samba_core.patch changes configure.in and Makefile.in in the samba source directory. The patch is needed to access symbols within smbd from a VFS module. The files configure.in and Makefile.in go to the examples/VFS directory. After running autoconf you can execute configure to create a new Makefile which will have the correct settings for Linux, AIX and Solaris. ...Juergen