LDAP authentication doesn't work with OpenLDAP servers
Description
The LDAP authentication works out of the box only with Windows Active Directory. This is primarily due to user@domain principal string in LDAP.java
For OpenLDAP we need uid=user,dc..... principal. The line is already there in LDAP.java commented out, however we should have a way to use OpenLDAP without code modification. One way to do it would be to search the domain string for "dc=" and use OpenLDAP principal if its found.
The LDAP authentication works out of the box only with Windows Active Directory. This is primarily due to user@domain principal string in LDAP.java
For OpenLDAP we need uid=user,dc..... principal. The line is already there in LDAP.java commented out, however we should have a way to use OpenLDAP without code modification. One way to do it would be to search the domain string for "dc=" and use OpenLDAP principal if its found.