Trying to test out the camunda LDAP with a free server available online : Online LDAP Test Server - Forum Systems
Made the changes in the xml to enabled LDAP Service. Here is the XML snippet :
<plugin>
<class>org.camunda.bpm.identity.impl.ldap.plugin.LdapIdentityProviderPlugin</class>
<properties>
<property name="serverUrl">ldap.forumsys.com:389/</property>
<property name="acceptUntrustedCertificates">false</property>
<property name="managerDn">cn=read-only-admin,dc=example,dc=com</property>
<property name="managerPassword">password</property>
<property name="baseDn"></property>
<property name="userSearchBase"></property>
<property name="userSearchFilter">(objectclass=person)</property>
<property name="userIdAttribute">uid</property>
<property name="userFirstnameAttribute">cn</property>
<property name="userLastnameAttribute">sn</property>
<property name="userEmailAttribute">mail</property>
<property name="userPasswordAttribute">userpassword</property>
<property name="groupSearchBase"></property>
<property name="groupSearchFilter">(objectclass=groupOfNames)</property>
<property name="groupIdAttribute">cn</property>
<property name="groupNameAttribute">cn</property>
<property name="groupMemberAttribute">member</property>
<property name="sortControlSupported">false</property>
</properties>
</plugin>
<!-- LDAP CONFIGURATION -->
<!-- The following plugin allows you to grant administrator authorizations to an existing LDAP user -->
<plugin>
<class>org.camunda.bpm.engine.impl.plugin.AdministratorAuthorizationPlugin</class>
<properties>
<property name="administratorUserName">admin</property>
</properties>
</plugin>
I have tried querying the LDAP using the ldapsearch command and it returns the result.
I am not sure what is going wrong. Can someone please have a look and let me know.