Thanks for your really fast help, it works like a charm...
Regards.
Francois.
----- Original Message -----
From: "Kostas Kalevras" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 5:09 PM
Subject: Re: problems with hints, stripped username and LDAP
> On Mon, 12 Aug 2002, Francois Dessart wrote:
>
> > Hello,
> >
> > I use Freeradius 0.6 with an LDAP server.
> >
> > I need to use hints to match different default profiles.
> >
> > Example:
> > mylogin@PROFILE1 to match profile1
> > mylogin to match default_profile
> >
> > Everything is ok when I use a login with a hint: the username is
> > stripped and correctly
> > passed to the LDAP module for authentication using the "%U"
variable.
> >
> > The problem is when I don't use any hint in my login: the stripped
> > username is transformed in a strange "_" when passed to LDAP
> > authentication.
> >
> > See debug outputs below.
> >
> > Do you have an idea what I'm doing wrong?
> >
> > Thanks for your help.
> >
> > Francois.
>
> In your ldap configuration set the filter to the following:
>
> filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
>
> --
> Kostas Kalevras Network Operations Center
> [EMAIL PROTECTED] National Technical University of Athens, Greece
> Work Phone: +30 10 7721861
> 'Go back to the shadow' Gandalf
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html