Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently running a CentOS 5.5 box with FreeRADIUS2 on it. I have the simple authentication turned on right now (username and pass is set via /etc/raddb/users). I want to have FreeRADIUS authenticate users via my current OpenLDAP server. Can someone point me in the right direction?


share|improve this question

You might try

I've set up authentication against Active Directory using FreeRadius2 but obviously there are enough differences between OpenLDAP and AD to use instructions specific to your ldap setup.

OpenLDAP should be easier than AD to get up and running though.

share|improve this answer

I too had this question. In my research I found that CentOS keeps the ldap configuration file in /etc/raddb/modules/ldap.

In my setup I am using PEAP so my LDAP server stores LM hashes. A short mention of how to set this up is here:

Once I found the ldap config file and read through everything in that file, setup was fairly simple. The only tough part that I ran into was having to use the sambaLMPassword but that was easily over come with a little googling.

Edit: This link: Setting up RADIUS + LDAP for WPA2 on Ubuntu also helped out a ton on getting everything working.

share|improve this answer
Thanks for the second link! It really helped me get LDAP to work with FreeRADIUS atleast in terms of it verifing users. Now the second issue I am having with with only allowing a certain group named "RADIUS" on my LDAP be verified. – arukaen Mar 13 '12 at 19:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.