06-03-2013 06:00 PM - edited 03-16-2019 05:40 PM
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
Solved! Go to Solution.
06-04-2013 02:28 AM
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
06-04-2013 02:28 AM
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
06-04-2013 09:39 AM
Thanks Aaron.
I changed the syntax and it seems to work as expected now.
06-04-2013 10:08 AM
Glad you have it fixed!
Aaron
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide