OpenLdap + Freeradius on centos 6.5 Not working

Vishesh kumar linuxtovishesh at gmail.com
Thu May 14 09:43:30 CEST 2015


Hi All,

I guess  this may be a very repetitive question but I stuck in configuring
openldap+freeradius setup on centos 6.5

My FreeRadius settings is as below
++++++++++++++++++++++++++++++++++++
authorize {
        preprocess
        ldap {
         ok = return
       }
}
authenticate {
       Auth-Type LDAP {
              ldap
              }
        Auth-Type PAP {
                pap
        }
}
+++++++++++++++++++++++++++++++++++++++++
And when I try to make connection from Supplicant to this Radius Server,
in log , I am flooded with message " *ERROR: No authenticate method
(Auth-Type) found for the request: Rejecting the user*"

But when I probe Radius Server directly using radtest or any othe tool, I
got below logs.

++++++++++++++++++++++++++++++++++++++++++++++++
[ldap] login attempt by "radtest" with password "XXXXX"
[ldap] user DN: uid=radtest,ou=People,dc=xxxx,dc=local
  [ldap] (re)connect to 127.0.0.1:389, authentication 1
  [ldap] bind as uid=radtest,ou=People,dc=xxxx,dc=local/redhat to
127.0.0.1:389
  [ldap] waiting for bind result ...
  [ldap] Bind was successful
[ldap] user radtest authenticated succesfully
++[ldap] returns ok
  WARNING: Empty post-auth section.  Using default return values.
++++++++++++++++++++++++

Please let me know if I am doing anything wrong here



-- 
Regards,
Vishesh Kumar


More information about the Freeradius-Users mailing list