Shadow passwords

Stephen Fisher (lithium@cia-g.com)
Thu, 2 Nov 1995 15:18:20 -0700 (MST)

Hey, this is probably a simple question but I don't know much about
the source for radiusd or shadow passwords. So I'll ask.

Right now I'm running a *slightly* modified version of radiusd v1.16
dated 06/01/95 without shadow passwords. All this patch does is allow a
user to put a capital P in front of their login name (like Plithium) and
it uses a second default entry in the users file (DEFAULT and PPPDEF).
Works great -- but now I'm upgrading the system to shadow passwords
[finally] and just can't quite seem to get it.

When I compile with -DNOSHADOW it works fine, when I take that out (or
try -DSHADOW which I later noticed has on effect) it chokes up like this:

---
cc -O -o version.o -c ./version.c
cc -O -o radiusd radiusd.o dict.o users.o util.o md5.o attrprint.o acct.o 
version.o
radiusd.o(.text+0x22d1): undefined reference to `getspnam'
make: *** [radiusd] Error 1
---

It doesn't know where to get the function getspnam(); Well I have figured out that it is in shadow-mk/shadow.c but don't quite know how I can make use of it (simply including shadow.c doesn't work since it needs all the other *.c and *.h's from the shadow-mk/ directory).

I would like to use this version of radius (or another with Clithium Slithium and Plithium support even though I don't directly let users use anything other than PPP Unless REALLY needed).

Any ideas? Please respond directly to me (and the list) since I only get a digest version of this mailling list.

thanks..

----- Stephen Fisher Technical Engineer Community Internet Access Gallup, New Mexico http://www.cia-g.com