On 24.01.2013 14:03, Emmanuel BILLOT wrote:
> 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@12345678
then this will be in User-Name unless you made manipulation with it
(what you should never do btw)
> We want to use both parts of adress in LDAP filter.
>
> pierre.dupont is %{User-Name}
then your user is logging with "pierre.dupont" and not
"pierre.dupont@123456"
> what should be the name of the variable for 12345678 ?
use %{User-Name}
Olivier
--
Olivier Beytrison
Network & Security Engineer, HES-SO Fribourg
Mobile: +41 (0)78 619 73 53
Mail: [email protected]
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html