Quote:
What file do I put a username and password? It seems like there are three different places to do this?
|
This depends on how you configured freeradius. I use LDAP to store username and passwords, you can also use system accounts from /etc/passwd and /etc/shadow, or you can use a file.
Quote:
Tue Mar 1 11:01:42 2005 : Auth: rlm_unix: [root]: invalid password
|
It looks like you are using the unix module, so the usernames and password should be your system username and password. Remove these lines from clients.conf, you shouldn't need them.
Code:
login = !root
password = testtest
I would add localhost to clients.conf and use radtest, to make sure everything is configured properly first. For example, add the following to clients.conf
Code:
client 127.0.0.1 {
secret = testsecret
shortname = localhost
}
Now test the connection with radtest.
Code:
radtest username password 127.0.0.1:1812 2 testsecret
If everything is setup correctly you should get and Access-Accept reply.
Thomas