Re: Radius and the "UNIX" password...

David Jirku (djirku@echo-on.net)
Fri, 8 Sep 1995 11:13:17 -0400 (EDT)

> This is code which is in the Merit 2.3 release because it was in the
> Livingston 1.16 release (remember the Merit 2.3 version is supposed
> to be the best of both worlds!) :-)

Of course...

> Since you are running BSDi 2.0 you have shadow passwords. Therefore
> you removed the NOSHADOW make(1) macro from the Makefile. In the
> and later around line 725:

Yeah, I kinda figured it was there...

> Since BSDi 2.0 preserves the getpwnam(3) semantics and the standard
> struct passwd fields in pwd.h, you don't want to be referring to the
> struct spwd stuff and probably should define the make(1) macro M_UNIX.

Ok, I've got M_UNIX defined in my Makefile, and a "make all" gets past
the offending part. Actually, it all compiles, but dies at linking:

./src/authenticate.o: Undefined symbol _getspnam referenced from text segment
*** Error code 1

You mentioned getpwnam above, this is getspnam. I'll investigate here,
see what I come up with, but any ideas will be greatly appriciated.
Thanks yet again for the help,

------------------------------------------------------------------------------
David Jirku | http://www.echo-on.net/~djirku | Echo Online Asst. Sys. Admin.
------------------------------------------------------------------------------