Next: , Previous: , Up: Authentication Attributes   [Contents][Index]


13.1.24 User-Name

ATTRIBUTE User-Name 1 string
Users:LR
Hints:-R
Huntgroups:LR
Additivity:Replace
Proxy propagated:Yes

This attribute indicates the name of the user to be authenticated or accounted. It is used in Access-Request and Accounting attributes. The length of the user name is usually limited by some arbitrary value. By default, Radius supports user names up to 32 characters long. This value can be modified by redefining the RUT_USERNAME macro in the include/radutmp.h file in the distribution directory and recompiling the program.

Some NASes have peculiarities about sending long user names. For example, the Specialix Jetstream 8500 24-port access server inserts a ‘/’ character after the 10th character if the user name is longer than 10 characters. In such cases, we recommend applying rewrite functions in order to bring the user name to its normal form (see Rewrite functions — raddb/rewrite).