We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c17b9a commit eca2321Copy full SHA for eca2321
auth_server/authn/ldap_auth.go
@@ -281,7 +281,7 @@ func (la *LDAPAuth) getCNFromDN(dn string) string {
281
if err != nil || len(parsedDN.RDNs) > 0 {
282
for _, rdn := range parsedDN.RDNs {
283
for _, rdnAttr := range rdn.Attributes {
284
- if rdnAttr.Type == "CN" {
+ if strings.ToUpper(rdnAttr.Type) == "CN" {
285
return rdnAttr.Value
286
}
287
0 commit comments