11-28-2012 03:29 AM - edited 03-16-2019 02:26 PM
HI,
I am applying an ldap filter in Cisco CCM 8.5 to filter record whoes ipphone field contain null vale
I apply below mention filter and still its not working
(&(objectclass=user)(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2))(|(ipPhone=*))
(&(objectclass=user)(&(ipPhone=*))(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))
(&(objectCategory=person)(objectClass=user)(ipPhone=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
(&(objectclass=user)(ipphone=*)(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))
Any body advise
11-28-2012 03:34 AM
Asim,
Try this
(&(objectCategory=person)(objectClass=user)(ipPhone=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
11-28-2012 03:55 AM
hi,
i already applied the same but its not working
11-28-2012 04:04 AM
How many filters do you have? Please remove all the other filters leaving only this one.
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
11-28-2012 04:30 AM
hi
There is only onw filter applied but still its not working
11-28-2012 04:32 AM
Please send the screen shot of your CUCM filter configuration page. What is the version of the LDAP you are using? is AD 2003 or 2008?
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
11-28-2012 05:34 AM
hi,
AD is 2008 .Its only one filter applied at a time .i tested the same filter you mention in the thread.i followed the below mention link documentation but still when i am using corporate directory on my ip phone i can see the user without ip phone extension.
Do i need to restart any service ?
11-28-2012 06:05 AM
I suspect it might be AD 2008. There is a slight need for syntax modification..try this..Note the & with the IpPhone field..
Please use as exactly below and try again
(&(objectclass=user)(&(ipPhone=*))(!(objectclass=Computer))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))
Please rate all useful posts
"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson
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