When username mapper is mapped to LDAP mail it triggers following exception is triggered: Caused by: javax.naming.InvalidNameException: mail=\ ,ou= people,dc=example,dc=com: [LDAP: error code 34 - invalid DN]
Issue
User want to map RH-SSO username to LDAP mail attribute in order to create ldap user entry where the rdn attribute is mail.
A typical ldap entry should look like dn: mail=joe.dalton@example.com,ou=People,dc=example,dc=com.
RH-SSO execution is failing when entering joe.dalton@example.com as RH-SSO username with following exception:
mail=\ ,ou= people,dc=example,dc=com: [LDAP: error code 34 - invalid DN]
Environment
- Red Hat Single Sign-On (RH-SSO)
- 7
- LDAP
- username mapped to email
- email mapper default value
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.