I was able to get 0.6 built and it's been running without incident for
24 hours now.  I did the following:

BSDI 4.2 lacks POSIX 1003.1b semaphores, but fortunately there is a
port of them from FreeBSD available at:

ftp://ftp.to.gd-es.com/pub/BSDI/libsem.tar.bz2

Installing libsem, add "-lsem" to the LIBS entry "src/main/Makefile"
takes care of this.

The remaining problems all relate to rlm_x99_token:

It can't find the SSL include files so added
"-I/usr/local/ssl/include" to "src/modules/rules.mak"

"x99.h" includes <inttypes.h>, which BSDI 4.2 does not have, commented it out.

Various files use type "uint32_t", which BSDI 4.2 does not have, added
"typedef unsigned long  uint32_t;" to "x99.h"

With those changes 0.6 runs builds fine.  As previously noted here, you
need to use "gmake" (GNU Make) instead of "make".

The server seems to be working fine.  As with FreeBSD it needs to run
as root to access the shadow passwords and you need to comment out the
"password" entry in "radiusd.conf" to make use of the systems hashed
getpw* functions.

Thanks for a great release!

->Spike

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to