P. Red Rocket
Joined: 14 Feb 2008 Karma :
|
Posted: 15:20 - 18 Sep 2018 Post subject: Any RADIUS nerds around? |
|
|
Hi,
Have an odd issue.
Users sending username via radius, I can see the username, I'm using freeradius hints to rewrite the username;
Code: | DEFAULT User-Name =* "*", NAS-IP-Address == "10.14.8.2"
User-Name := "%{User-Name}@mynetworkrealm", |
I've changed the "User-Name" attribute to match the rewritten one, so "User-Name :=" so it should look at that...
However, the radiusparser is complaining that the attribute User-Name is empty, despite me seeing username@mynetworkrealm in the User-Name := field.
Now.... I've changed it so the User-Name attribute appears as User-Name :=, yet the parser still says its empty...
I can see the fucking username in the start packet and the accounting one sent to my radiusparser...
Anyone able to shed any light whatsoever? |
|