LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   FreeRadius Server Configuration and Integration with LDAP help required (https://www.linuxquestions.org/questions/linux-server-73/freeradius-server-configuration-and-integration-with-ldap-help-required-674179/)

swati_sharma 10-04-2008 08:57 AM

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

MensaWater 10-04-2008 09:34 AM

Apparently you don't understand the rules. Posting in 2 forums is against the rules. Posting in SIX forums is just STUPID!

swati_sharma 10-04-2008 11:33 PM

With all due respect sir, i guess that just reflects the urgency and utter importance of the issue and i would appreciate if you could just help me out with some experience instead of just posting comments like that which are offending.

Thanks.

peter_robb 10-06-2008 03:07 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 12:05 AM.