KB Articles

KB Article # 7802

Topic/Category: Active Directory

Ephesoft Version: 3x-4x

Issue: Active Directory Configuration of Sample File Changes for Proper Setup

Solution:

****server.xml

<!--To enable Active Directory user management configuration uncomment below-->
<!--   -->
<Realm className="org.apache.catalina.realm.MemoryRealm" /> 
<Valve className="com.ephesoft.dcma.authenticator.EphesoftAuthenticator"/>
<Realm className="org.apache.catalina.realm.JNDIRealm" 
connectionURL="ldap://ephesoft.com:3268"
connectionName="cn=ephesoftservice_account,dc=ephesoft,dc=com"
connectionPassword="Password"
userBase="dc=ephesoft,dc=com"
userSearch="(sAMAccountName={0})"
userSubtree="true"
referrals="follow"
roleBase="dc=ephesoft,dc=com"
roleName="cn"
roleSubtree="true"
roleSearch="(member={0})" 
/>

 

****user-connectivity

# This property is defined common for all types connectivity
# LDAP/MS Active Directory

user.connectivity_url=ldap://ephesoft.com:3268
user.connectivity_config=com.sun.jndi.ldap.LdapCtxFactory
user.connectivity_domain_component_name=ephesoft
user.connectivity_domain_component_organization=com
user.connectivity_username=cn=ephesoftservice_account,dc=ephesoft,dc=com
user.connectivity_password=Password


# This Property defines which type of connectivity is used
# 0 = LDAP
# 1 = MS Active Directory
# 2 = Tomcat
user.connection=1

# Set this for LDAP Connectivity, remove values if AD enabled
# user.ldap_user_base=ou=people
# user.ldap_group_base=ou=groups
user.ldap_user_base=
user.ldap_group_base=

#This Attribute is added so as to make search of groups in LDAP/AD configurable,by default its cn(commonName) is returned
user.connectivity_groupSearchAttributeFilter=cn
#This Attribute is added to make search of Users (Organisational Unit) in LDAP/AD configurable,by default its cn
user.connectivity_userSearchAttributeFilter=sAMAccountName

#Set this for MS Active Directory
user.msactivedirectory_context_path=
# filter can have |(OR), &(AND) and !(NOT)
# | (|(cn=a*))
# & (&(cn=a*))
# ! (!(cn=a*))
# complex example ((!(cn=a*))(|(cn=ephesoft*)(&(cn=b*)))
user.msactivedirectory_group_search_filter=(|(cn=ephesoft*)(cn=admin*))

# Tomcat Connectivity
user.tomcatUserXmlPath=C:\\Ephesoft\\JavaAppServer/conf/tomcat-users.xml

#Switch To display user's Full name on the apptication UI.
# Default value is OFF.
# 1 = ON.
fullname.display=1

 

****application.properties

user.super_admin=ephesoft_admins
update_super_admin_group=true

 

Related:

How to: Configure Active Directory

Examples of Active Directory Connection User Names

Testing Active Directory Credentials and Connection Information to Be Used with Ephesoft

User Directory Authentication Issues: Escape Special Characters in Passwords

 

 

< Back|KB Main Page | Next KB Article >

Was this article helpful to you?

Walter Lee

Comments are closed.