3.47.6. UsernameAttr Previous topic Parent topic Child topic Next topic

This is the name of the LDAP attribute that is required to match the user name in the authentication request (possibly after user name rewriting by RewriteUsername). Defaults to “uid”. The LDAP search filter is constructed from UsernameAttr and the name of the user in the Access-Request like this: “(UsernameAttr = user name)” For example, if you UsernameAttr is “uid”, and user “mikem” tries to log in, Radiator will use the LDAP filter “(uid=mikem)”. This behaviour can be customised with the Search-Filter parameter.
# Use the uid attribute to match usernames
UsernameAttr uid