How to map users from a specific Organizational Unit (ou) only
There are two or more domains on Kerio Connect server mapping users from the same directory service. Both email domains on Kerio Connect server contains same users. There is a need to differ between users according to email domain to which the user belongs.
The LDAPLightweight Directory Access Protocol - A protocol that enables users to access centrally managed contacts. database can use containers to differ between objects. These containers are commonly used to differ between groups, organizations, or departments for example.
Active Directory use following description of such container, which is also the most common container used for such purpose - Organizational units. According to previous description each email domain on Kerio Connect can map users only from a specific container.
Organizational Unit is a full name of the LDAP object. To use organizational units with the Kerio Connect domain mapping you need its Distinguished Name (DN) . DN name for this unit is
Kerio Connect map users from the default LDAP location by default. This location is defined by the DN name in follwoing format:
So by default the Kerio Connect map all users from all containers in the Active Directory as this is the top level structure of the Active Directory tree.
To differ between additonal Active Directory / LDAP containers
- Configure Active Directory mapping according to our manual.
- Stop Kerio Connect service.
- Open configuration file mailserver.cfg, which is lcoated in installation directory.
- Locate following part of configuration file:
- In this section of the configuration file locate your domain definition - in our example
- Change the
GroupBasedDNsearch locations according to your path. In our example we change the location to Support department for example.
- Save the configuration file.
- Start Kerio Connect service.