LDAP filters allow us to precisely define which user accounts we want imported into the Unified Communications Managers database.
To add a new LDAP filter, perform the following:
Navigate to the LDAP Custom Filter page (System | LDAP | LDAP Custom Filter).
Click on Add New.
Specify a meaningful Filter Name.
Specify the Filter. For this recipe I will use the filter
(&(objectclass=user)(!(objectclass=Computer))(ipPhone=*))
:Click on Save.
When applied to an LDAP Directory, the filter will be used as the criteria for which user objects will be imported into the Unified Communication Managers database.
Here is a quick breakdown of the filter used in the recipe:
objectclass=user: This specifies that the object must be of the
User
class!(objectclass=Computer): This eliminates
Computer
objects from being imported.ipPhone=*: Here we require the
ipPhone
field to have any value