Configure OpenLDAP

OpenLDAP Software is a free, open source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project. It is released under its own BSD-style license called the OpenLDAP Public License. LDAP is a platform-independent protocol.

To connect to the Transact LDAP database and modify groups, users, and set permissions. Administrators can use the bundled JExplorer tool at the following location:

<Transact Installation Folder>\Dependencies\OpenLDAP\ldap-client\jxplorer-<version>\jxplorer.bat

To use Transact with OpenLDAP, modify the following files.

user-connectivity.properties

This file is located in <Transact Installation Folder>\Application\WEB-INF\classes\META-INF\dcma-user-connectivity\user-connectivity.properties.

This file contains the settings necessary to populate groups names in Transact Batch Class Management. The following settings should be set for LDAP configuration:

user.ldap_url=ldap://localhost:389
user.ldap_config=com.sun.jndi.ldap.LdapCtxFactory
user.ldap_domain_component_name=ephesoft
user.ldap_domain_component_organization=com
user.ldap_username=cn=Manager,dc=ephesoft,dc=com
user.ldap_password=*******
user.connection=0
Server.xml

This file is located in the <Transact Installation Folder>\JavaAppServer\conf\server.xml. It should have following Realm:

<Realm className=”org.apache.catalina.realm.JNDIRealm”
connectionURL=”ldap://localhost:389″
connectionName=”cn=Manager,dc=ephesoft,dc=com”
connectionPassword=”secret”
userPattern=”cn={0},ou=people,dc=ephesoft,dc=com”
roleBase=”ou=groups,dc=ephesoft,dc=com”
roleName=”cn”
roleSearch=”uniqueMember={0}”
/>