Hi all, I am doing the configuration of FreeRadius Server version 2.1.1 on FC8. I plan to connect WiFi access points to freeRadius for AAA as a part of my project. I downloaded the source code and built it using ./configure make make install But, radtest gives access-reject for any username and password. Also, when running the radius daemon : radiusd i get the following error :: /etc/raddb/users[74]: Parse error (check) for entry Auth-Type: expecting '=' Errors reading /etc/raddb/users radiusd.conf[1171]: files: Module instantiation failed. radiusd.conf[1970] Unknown module "files". radiusd.conf[1905] Failed to parse authorize section. Initially i was trying to integrate ldap with freeradius 1.1.7 in the first go. But, it also gave the failure to parse errors. So, i just shifted the version of freradius to 2.1.1. Following is the code in the users file that i have added :: #DEFAULT Auth-Type = System # Fall-Through = 1 Auth-Type := ldap Auth-Type := local, User-Password == mypasswd Auth-Type := System Service-Type = Login-User "test" User-Password == "test" User-Name = "abc" User-Password = "cba" "swati" Cleartext-Password := "swati" Reply-Message = "Hello, %{User-Name}..............." Hope this much information is sufficient. Please do help me at the earliest. Thanking you in anticipation. Swati
Sir, Following is the output to ls -la /etc/raddb/users :: -rw------- 1 radiusd radiusd 7431 2008-10-04 16:23 /etc/raddb/users
The part i added in the users file is as follows :: #DEFAULT Auth-Type = System # Fall-Through = 1 Auth-Type = ldap Auth-Type = local, User-Password == mypasswd Auth-Type = System Service-Type = Login-User "test" User-Password == "test" User-Name = "abc" User-Password = "cba" "swat" Cleartext-Password := "swat" Reply-Message = "Hello, %{User-Name}..............." But when i run radtest; either with the username and password mentioned in the file as given above or the system username and password; it does not work. Thanks in advance. Regards, Swati
I don't know FreeRadius, but is the colon in Code: "swat" Cleartext-Password [B][COLOR="Red"]:[/COLOR][/B]= "swat" correct? And what about the two = signs in Code: Auth-Type = local, User-Password == mypasswd and Code: "test" User-Password == "test" ?
Freeradius SErver config & integration with LDAP ! Swati, Freeradius 2.0.5 or 2.X for that matter is a great product. It works with lots of configurations out-of-the-box. I would suggest u to go back to the basics. Do a clean Install. enter a user in /etc/raddb/users (a plain text user) & test it with radtest. ( with this plaintext users even the freeradius 1.7 works out-of-the-box.) Work it from there onwards. remember baby-steps. one thing at a time. Good luck --