James S. Smith wrote:
I'm trying to get FreeRadius to authenticate against the local server's usernames and passwords. I have a fresh installation and I've confirmed that authentication is working with a test entry in the /etc/raddb/users file. I've also tested authentication from another system and it works too. I then try to authentication against a unix account I have on the system ("testrad"). It comes back as "Access-Reject", which seems to suggest it tried to look for the user account and felt it wasn't there and in the radiusd -X the unix module reports "notfound". I've confirmed I can log in via Unix with this account, so it definitely works. I also made a test program that makes the same calls as rlm_unix and it was able to successfully lookup the user account.
Well.. if the user isn't found in /etc/passwd, then it isn't found. There aren't too many reasons why a passwd lookup won't work. What about file/user permissions? Alan DeKok.