Update username attribute in NAS
Padam Jeet Singh
padam.singh at inventum.net
Wed Dec 9 09:27:55 CET 2015
> On 09-Dec-2015, at 10:58 am, Anirudh Malhotra <amalhotra.sp-dl at nkn.in> wrote:
>
> Hey Everyone,
>
> I have few questions first:
> Can User-Name attribute be updated at NAS after authentication is completed(post auth)?
>From RFC 2865:
5.1. User-Name
This Attribute indicates the name of the user to be authenticated.
It MUST be sent in Access-Request packets if available.
* It MAY be sent in an Access-Accept packet, in which case the
client SHOULD use the name returned in the Access-Accept packet in
all Accounting-Request packets for this session.*
So your NAS does not comply - it doesn’t need to because it’s not a MUST.
Your best bet may be the Class attribute. It’s sent verbatim back to server in most NAS.
Padam
More information about the Freeradius-Users
mailing list