When using FreeRADIUS with LDAP passthrough authentication, such as OpenLDAP with SASL or Kerberos passthrough, you are very restricted in what you can do.
DeployingRADIUS, Alan DeKok's site, has a handy compatibility matrix that lists authentication systems and their authentication protocol compatibility. LDAP servers with passthrough authentication require you to bind to LDAP as the user, which in the compatibility matrix limits you to PAP authentication and its EAP variations (such as EAP-TTLS/PAP and EAP-TTLS/EAP-GTC with PAP).
...
Note |
---|
It is assumed here that you will modify the |
Insert into the bottom of the
authorize
section after thepap
line the following:Code Block language bash if (User-Password) { update control { Auth-Type := ldap } }
In the
authenticate
section, modify theAuth-Type PAP
option as shown below:Code Block language bash Auth-Type PAP { # pap ldap }
- Additionally, remove the comment from the
ldap
line in theAuth-Type LDAP
block, but not the block itself. - Save the file.
...