Cookies CSS

Thursday, September 24, 2015

Using an LDAP Filter to limit Active Directory results

Sometimes there are reasons to limit the number of results returned from Active Directory.
This can be done via a registry entry on the BOC TAPI Connector server.
All standard registry editing warnings apply.  If you are not familiar with safely editing the Windows registry, please engage a Microsoft professional.  For most customers this change is not necessary.

The key you will need to alter is here.
HKEY_LOCAL_MACHINE\SOFTWARE\Bridge Communications\BOCServer\LDAPSearchFilter

There are numerous tools available online to help generate a string suitable for your needs.

Here is simple one to select only users with a value in the ipPhone field.
(&(objectCategory=user)(objectClass=user)(ipPhone=*))

Here is a simple one to select only users who are Skype enabled.
(&(objectCategory=user)(objectClass=user)(msRTCSIP-UserEnabled=TRUE))


No comments:

Post a Comment