Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

LDAP Filtering Syntax

HI Friends

Currently i have configure LDAP in cucm for our corporate directory. Since in the ldap server have the user without extension. We want to filter that user have no ext number to be not appear in our corporate directory. We have apply below syntax but its not works. May i have some advise from cisco members regarding on the syntax?

The syntax.

(&(objectclass=user)(!(objectclass=Computer))IPphone=*))

Our cucm version is 9.1.1.20000.-5

5 REPLIES
VIP Super Bronze

LDAP Filtering Syntax

Your filter is not correctly formatted..

(&(objectclass=user)(!(objectclass=Computer))IPphone=*))

should be

(&(objectclass=user)(!(objectclass=Computer)(IPphone=*)))

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

LDAP Filtering Syntax

Hi Aokanlawon

Thank you very much for your help. After i apply the new syntax you give its still promt the syntax has an error.

VIP Super Bronze

LDAP Filtering Syntax

Please try this..

.

(&(objectCategory=person)(objectClass=user)(ipPhone=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
New Member

LDAP Filtering Syntax

Hi Aokanlawon

Seem i have a luck to save it today with the new syntax but after done synchronization and verify the corporate directory i found the user without ext still display.

VIP Super Bronze

LDAP Filtering Syntax

are you sure you are using the ipPhone field to puplate phone numbers. Are you using another field eg telephoneNumber field..Please confirm with your AD guys

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
173
Views
10
Helpful
5
Replies
CreatePlease to create content