FreeRadius Server Configuration and Integration with LDAP help required
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
|