Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 1995 10:30:14 -0700 (MST)
From:      "Thomas D. Simes" <tsimes@bsl1.bslnet.com>
To:        freebsd-questions@FreeBSD.org
Subject:   RADIUS help
Message-ID:  <Pine.BSF.3.91.950520102057.29921A-100000@bsl1.bslnet.com>

next in thread | raw e-mail | index | archive | help

Hi All,

I am trying without succes to get RADIUS compiled and running under 
FreeBSD.  I am hoping to find someone who has already done this and pick 
their brains a bit :-)

Specifically, I was wondering if anyone remembers the changes necessary 
to get RADIUS compiled on FreeBSD.  We are running FreeBSD 2.0.950412-SNAP 
and are using the U.S. version of DES for password encryption.  I have 
already made the change suggested in the Livingston docs for the shadow 
password field being a * and not an x.  The RADIUS version is 1.16.

When compilng with cflags -O -DNOSHADOW, I get the following:

bsl1# make ALL
gcc -O -DNOSHADOW -c ./radiusd.c
gcc -O -DNOSHADOW -c ./dict.c
gcc -O -DNOSHADOW -c ./users.c
gcc -O -DNOSHADOW -c ./util.c
gcc -O -DNOSHADOW -c ./md5.c
gcc -O -DNOSHADOW -c ./attrprint.c
gcc -O -DNOSHADOW -c ./acct.c
gcc -O -DNOSHADOW -o version.o -c ./version.c
gcc -O -DNOSHADOW -o radiusd radiusd.o dict.o users.o util.o md5.o 
attrprint.o acct.o version.o
radiusd.o: Undefined symbol `_crypt' referenced from text segment
*** Error code 1

When compiling with cflags -O, I get the following:

bsl1# make ALL
gcc -O -c ./radiusd.c
./radiusd.c:50: shadow.h: No such file or directory
*** Error code 1

The results are the same if I compile with cc, and I do not have a 
shadow.h file anywhere on my system.  Does this sound familiar?


Thanks in advance!

Tom

======================================================================
Thomas D. Simes	 		"Diligence is the mother of good luck"
tsimes@bslnet.com			- Ben Franklin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950520102057.29921A-100000>