README.APACHE2 First you have to compile the code in the "samba-shared" directory like so: cd samba-shared make CFLAGS="-fPIC -O2" cd .. Then build and install the apache2 module. NOTE: You will need to have the apache2 apxs binary in your path (with read/execute rights!) to run the make commands. cd apache2 [[ edit Makefile and fix paths in top_srcdir=, top_builddir= and include lines near the top of the file. You could also set the full paths in APXS and APACHECTL variables if apxs/apachectl are not in your PATH. You may also select the GDBM_PASSWD_CACHE option at this point by uncommenting the appropriate lines - this option enables the caching of passwords in a gdbm file to work around load problems on some systems. NOTE that it may be better to try other things rather than enable this option - for example, redesiging your web site to reduce authentication requests by the use of sessions. This option has not been tested extensively, and of course increases security risks because passwords are stored on disk in an extra place, even though they are encrypted. Also, nothing is ensuring that the password information is removed from the cache file when it times out - it will stay there forever, unless a failed request for that password occurs. In future, it may be better if this used a simple array in memory, since it doesn't appear to be essential that the information stay around between restarts (but it may be that memory is in short supply)]] touch .deps make depend make make install Ignore the warning during the "make": *** Warning: Linking the shared library mod_smbauth.la against the non-libtool *** objects ../samba-shared/md4.o ../samba-shared/rfcnb-io.o ../samba-shared/rfcnb-util.o ../samba-shared/session.o ../samba-shared/smbauth.o ../samba-shared/smbdes.o ../samba-shared/smbencrypt.o ../samba-shared/smblib-util.o ../samba-shared/smblib.o ../samba-shared/valid.o is not portable! Restart apache by "make restart|stop|start" or by other means. --------------------------------------------------- If you get something like the following on make or make install: ... /bin/sh: apxs: command not found ... then apxs is not in your path, or you are not root. ---------------------------------------------- See the file "apache2/example-config" for some (untested) examples of using the configuration directives. Please contact me with any suggestions <Murray.Jensen@csiro.au> - but you're probably better off contacting the original author <shire@tekrat.com>.