Hi,
I was able to connect my application with our Live-LDAP. I now need a test LDAP-Server with testdata and I tried to do it in the following way:
But know I always get this error:
Caused by: javax.naming.InvalidNameException: undefined,dc=ofv,dc=de: [LDAP: error code 34 - ERR_05132_INVALID_ROOT_DN Invalid root Dn given : undefined,dc=ofv,dc=de
It is the same when I use “Users” als searchBase.
Here is my configuration in standalone.xml
ldap://212.201.31.193:10389/
<property name="baseDn">dc=ofv,dc=de</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">ou=roles</property>
<property name="groupSearchFilter">(objectclass=groupOfNames)</property>
<property name="groupIdAttribute">ou</property>
<property name="groupNameAttribute">cn</property>
<property name="groupMemberAttribute">member</property>
</properties>
</plugin>
<plugin>
<class>org.camunda.bpm.engine.impl.plugin.AdministratorAuthorizationPlugin</class>
<properties>
<property name="administratorUserName">ofv2admin</property>
</properties>
</plugin>
</plugins>
Any ideas? Thanks a lot,
Nicole