problems with hints file

wekz fbl.list at
Fri May 5 10:01:45 CEST 2006

Hi all,

I use freeradius1.1.1 + ldap. And peap or eap-tls for authorization.

I've been trying to use hints.file for changing the User-Name. When a laptop
user which is in a domain tries to do a peap authentication, windows sends a
User-Name that follows this pattern (at least the ones I've seen):


I'm trying to catch up the LOGIN name so the radius can perform a search in

I've modify hints.file including this line:

                      DEFAULT User-Name =~ "^([^\\]+)\\5c\\5c([^\\]+)"
                                      User-Name := "%{2}"

The problem is that this rule matches but it changes the User-Name for an
empty string.
If I put a string instead of %{2} it does change it right.

                      DEFAULT User-Name =~ "^([^\\]+)\\5c\\5c([^\\]+)"
                                      User-Name := "JOHNDOE"

I don't know if that is a bug or if there's something I'm doing wrong and
didn't realize.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list