cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1140
Views
5
Helpful
2
Replies

CUCM LDAP Sync

Hello all,
I am using LDAP sync between AD and CUCM. 

 

UserID = telephoneNumber

 

Screen Shot 2019-01-30 at 15.59.55.png

I am trying to filter out telephone number that are -1 and 0. On my production environment there are many for some reason and I have no control over them. I have created an LDAP filter, which I can successfully save:

 

(&(objectCategory=user)(objectClass=user)(!telephoneNumber=-1))

 

But when I try to apply that on the LDAP Directory, I am getting the error below:

 

Screen Shot 2019-01-30 at 15.57.32.png

 

Are there limitations on CUCM or am I doing something wrong.


Theo

1 Accepted Solution

Accepted Solutions

(!(telephoneNumber=-1))

Seems to do the trick. While the one below gives an error

 

(!telephoneNumber=-1)

 

View solution in original post

2 Replies 2

(!(telephoneNumber=-1))

Seems to do the trick. While the one below gives an error

 

(!telephoneNumber=-1)

 

Just to explain why: CUCM doesn’t validate the filter; you could create anything. The filter string is passed to the LDAP server when issuing the query. All validation is done by the Domain Controller.
https://social.technet.microsoft.com/wiki/contents/articles/5392.active-directory-ldap-syntax-filters.aspx