I'm going to go with the "I may not be smart enough to have it
configured correctly". After looking some more I found the comment in
radiusd.conf that tells me to comment out the passwd= and shadow= lines.
Sorry for confusing anyone.

Matthew Koch
Geneva On-Line Inc.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Matthew
Koch
Sent: Saturday, March 23, 2002 12:38 PM
To: [EMAIL PROTECTED]
Subject: FreeBSD System Auth


I seem to be having problems with FreeBSD 4.4 and FreeRADIUS 0.5. The
compile problems are fixed (yay, thanks), but not when I try to use
SYSTEM authentication, FreeRADIUS doesn't seem to be smart enough to
handle the fact that passwords are stored in master.passwd and not
/etc/passwd or /etc/shadow. Then again, I may not be smart enough to
have it configured correctly. 

I hacked up src/modules/rlm_unix/rlm_unix.c at line 589 to be:

radlog(L_AUTH, "rlm_unix: [%s - %s - %s]: invalid password", name,
encrypted_pass, encpw);

In the output I now get:

rlm_unix: [walters - * - **fbOYXfEV4Lg]: invalid password

Which says to me radius is reading the * in /etc/passwd and checking
against that. Funky eh? Am I missing something or does someone just need
to add the correct checks for FreeBSD?

Matthew Koch
System Administrator
Geneva On-Line Inc.




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


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

Reply via email to