How to create two Active Directory domains, with each domain having its own set of filters in the ldap.properties file?

How to create two Active Directory domains, with each domain having its own set of filters in the ldap.properties file?

book

Article ID: KB0076979

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 7.0.x and higher

Description

How to create two Active Directory domains, with each domain having its own set of filters in the ldap.properties file?

Issue/Introduction

How to create two Active Directory domains, with each domain having its own set of filters in the ldap.properties file?

Resolution

Follow the steps listed below to create two Active Directory domains, with each domain having its own set of filters in the ldap.properties file.

(1)  Create the two domains in the Web Manager. For the purpose of the article, lets assume we call them - ""ldapdom1"" and ""ldapdom2"".

(2)  In the ldap.properties file, create a set of filters for each domain. The filters must be prefixed with the domain name that you created in the Web Manager. Assuming that the domain names are "ldapdom1" and "ldapdom2", the entries would look like this:

# First domain 
ldapdom1.max.page.size=1000
ldapdom1.all.users.search.context=cn=users
ldapdom1.all.users.filter=(&(objectCategory=person)(objectclass=user))
...etc ...

# Second domain
ldapdom2.max.page.size=1000
ldapdom2.all.users.search.context=cn=users
ldapdom2.all.users.filter=(&(objectCategory=person)(objectclass=user))
...etc ...

NOTE: While logging into TDV, the user will need to specify the correct domain i.e. ""ldapdom1"" or ""ldapdom2".