City-of-Bloomington / cas-overlay

Base Apereo CAS Maven WAR Overlay template
https://apereo.github.io/cas
Apache License 2.0
1 stars 0 forks source link

Consider using UserPrincipalName when retrieving username from AD #6

Closed inghamn closed 4 years ago

inghamn commented 5 years ago

Currently, the sAMAccountName field is utilized to pull the username of Persons, but longer username formats (such as firstname.lastname) are truncated due to the 20-character limitation for compatibility reasons.

This may cause confusion in mixed environments where the NT style is still utilized, or in environments where the UPN is what users have been trained to log on with.

https://github.com/City-of-Bloomington/directory/issues/32

inghamn commented 4 years ago

This is handled the configuration for the Kubernetes deployment. We are now using sAMAccountName for the Principal Attribute ID.