[LDAP] access to attribut with unlang

vince technical address vince.technicaladdress at gmail.com
Wed Jan 6 17:38:12 CET 2016


Hi,

I currently use the rlm_ldap module to retrieve an entry corresponding
to a filter
defined in the authorize section. After (but always in section authorize) I
would use the value of an LDAP attribute recovered with unlang.

Is it possible ?

Example :

authorize {
   ldap
   if(attribute == "qwerty") {
      reject
   }
}

With "attribute"is the value of the attribute has been recovered with
module ldap. (it is an idea to overcome the fact that xlat ldap does not
enable failover).

Thanks


Vince


More information about the Freeradius-Users mailing list