Alan DeKok wrote:
Maillists <maillists@cois.on.ca> wrote:but I know 100% that the password is correct. What appears to be happening (determined from hours of frustrating testing) is Freeradius (rlm_unix) is looking for the users passwords in the /etc/passwd file but my /etc/passwd file doesn't contain any passwords:test:*:1003:1003:Test User:/home/test:/bin/sh my /etc/master.passwd file does:test:$1$RlHYm4Ca$QhlYcYV7BqIjTF.UQ4pTX/:1003:1003::0:0:Test User:/home/test:/bin/shRead radiusd.conf, and look for "/etc/passwd". Odds are that you enabled caching of /etc/passw. There's a reason it's not enabled by default, it doesn't work on FreeBSD. Which is explicitly documented. Alan DeKok.
No, that isn't the cause as I have the following in radiusd.conf:
# Unix /etc/passwd style authentication
#
unix {
# allowed values: {no, yes}
cache = no
# Reload the cache every 600 seconds (10mins). 0 to
# disable.
cache_reload = 600
# This is required for some systems, like FreeBSD,
# and Mac OSX.
passwd = /etc/passwd
shadow = /etc/master.passwd
group = /etc/group
#
radwtmp = ${logdir}/radwtmp
}
I'm assuming the cache_reload=600 doesn't matter as it the cache was
disabled earlier in the code. Any other things I should check to get
Auth-Type = System working?
Shane