Filter and attribute

Emmanuel BILLOT emmanuel.billot at ac-orleans-tours.fr
Thu Jan 24 14:34:39 CET 2013


Le 24/01/2013 14:03, Emmanuel BILLOT a écrit :
> Hi,
>
> In LDAP config module, we can find
>
> filter = 
> "(|(uid=%{%{Stripped-User-Name}:-%{User-Name}})(mail=%{%{Stripped-User-Name}:-%{User-Name}}))"
>
>
> Users authenticate in freeradius with login like pierre.dupont at 12345678
>
> We want to use both parts of adress in LDAP filter.
>
> pierre.dupont is %{User-Name}
>
> what should be the name of the variable for 12345678 ?
>
>
Ok %{Realm} seems to works, however anyway to force upcase on it ?

-- 
Emmanuel BILLOT
CATEL - Dpt. Système et Réseaux
Rectorat - Académie d'Orléans-Tours
10, rue Molière - 45000 Orléans
Tél : 02 38 79 45 57



More information about the Freeradius-Users mailing list