Hi all, <br><br>I use freeradius1.1.1 + ldap. And peap or eap-tls for authorization.<br><br>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):
<br>                    <br>                                             DOMAIN\5c\5cLOGIN<br><br>I'm trying to catch up the LOGIN name so the radius can perform a search in ldap.<br><br>I've modify hints.file including this line:
<br><br>                      DEFAULT User-Name =~ "^([^\\]+)\\5c\\5c([^\\]+)"<br>                                      User-Name := "%{2}"<br><br><br>The problem is that this rule matches but it changes the User-Name for an empty string.
<br>If I put a string instead of %{2} it does change it right.<br><br>                      DEFAULT User-Name =~ "^([^\\]+)\\5c\\5c([^\\]+)"<br>                                      User-Name := "JOHNDOE"
<br><br><br>I don't know if that is a bug or if there's something I'm doing wrong and didn't realize. <br><br>¿?<br><br>Thanks.<br>