Knowledgebase:
Directory Sync - filter to sync only objects marked with an attribute
Posted by Marek Richter, Last modified by Marek Richter on 21 June 2016 04:16 AM

Directory Sync - filter to sync only objects marked with an attribute

An administrator may want to bring in objects from AD, regardless of what OU they are stored in. You can add an attribute to the required accounts in AD, and use a filter to define which objects IceWarp Server will synchronise. These accounts can be in any OU as long as your DN is set to see your entire domain, for example, "dc=domainname,dc=com".

You can use any attribute you want in AD, in this example, we have used the INFO field. 

Active Directory

  1. In Active Directory Users and Computers, right-click one of the accounts and select Attribute Editor *
  2. Find the info attribute and add an identifier, our example uses USEME

IceWarp Directory Service Settings

  1. Set the filter to the following (&(objectCategory=user)(|(INFO=USEME)))
    This will include any user who has the INFO attribute set the USEME. 

Any users who do not have the INFO attribute set will not be synced into IceWarp. 

 

 

* To see the attribute editor AD users and computers needs to be in advanced mode. 

(0 vote(s))
Helpful
Not helpful

Comments (0)