- Configure the LDAP user store related configurations using the user-mgt.xml file found in the
<IS_HOME>/repository/confdirectory. See here for more information on configuring user stores.
UserNameSearchFilterthat helps to search for the user object in the LDAP using both mail and uid attributes.
UserDNPatternproperty, if it is currently enabled.
- The mail attribute has requirements that are unique. If you are using the mail attribute, you need to open the carbon.xml file found in the
<IS_HOME>/repository/confdirectory and uncomment the following. See here for more information on email authentication.
If you want to work with multiple attributes (basically to retrieve internal roles with multiple attributes), you must add following property in the
<IS_HOME>/repository/conf/user-mgt.xmlfile. This can be done only once you have installed the WSO2 Identity Server 5.0.0 along with the Service Pack.
- To test this, restart the Identity Server and try to log in to the management console by providing both the mail and uid with the same password.