cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
466
Views
0
Helpful
3
Replies

CUCM LDAP filters

Daniel Gomez
Level 1
Level 1

Hello experts,

I was wondering if anyone has experience with CUCM LDAP filter syntax.

I'm trying to make CUCM just to get users with phone numbers starting with 8500, 8505, 8514 and 8800 to perform a demo.

I created the following filter:

(&(ipPhone=8500*)(ipPhone=8505*)(ipPhone=514*)(ipPhone=8800*)

It seems to work but not entirely as expected as CUCM is importing users with no number configured.

Could the syntax of my filter be the issue?? I understand I'm creating a rule saying any of the conditions must be considered.

Any advise would be really appreciated.

Regards,

Sent from Cisco Technical Support iPhone App

1 Accepted Solution

Accepted Solutions

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

Have you assigned the filter to the LDAP sync agreement and run a resync?

Also your filter seems incorrect:

(&(ipPhone=8500*)(ipPhone=8505*)(ipPhone=514*)(ipPhone=8800*)

Should be:

(|(ipPhone=8500*)(ipPhone=8505*)(ipPhone=514*)(ipPhone=8800*))

The | means 'OR' the following elements rather than 'AND' them (which would rule out all numbers) and there is a final bracket missing.

Regards

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

View solution in original post

3 Replies 3

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

Have you assigned the filter to the LDAP sync agreement and run a resync?

Also your filter seems incorrect:

(&(ipPhone=8500*)(ipPhone=8505*)(ipPhone=514*)(ipPhone=8800*)

Should be:

(|(ipPhone=8500*)(ipPhone=8505*)(ipPhone=514*)(ipPhone=8800*))

The | means 'OR' the following elements rather than 'AND' them (which would rule out all numbers) and there is a final bracket missing.

Regards

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Thanks Aaron.

I changed the syntax and it seems to work as expected now.

Glad you have it fixed!


Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!