ATTENTION: We are currently working an issue with posting. Thank you for your patience while we work on a resolution.
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
438
Views
0
Helpful
1
Replies

Change LDAP Query Search Base?

craig.pollitt
Level 1
Level 1

Is there a way to change the way CUPC queries LDAP?

When I perform a search on my last name, it queries the LDAP server with this search base:

SRCH base="ou=people,o=illinoisstate,dc=ilstu,dc=edu" scope=2

filter="(|(givenName=*pollitt*)(sn=*pollitt*)(nickname=*pollitt*)(uid=*pollitt*)(telephoneNumber=*pollitt*))"

attrs=ALL

...which limits the records it can query to 4000 (and we have over 60,000).

A better filter would be:

"(|(givenName=*pollitt*)(sn=*pollitt*))"

Is there a way to change this default behavior?

1 Reply 1

Tommer Catlin
VIP Alumni
VIP Alumni

If CUPS does not allow you to put in the wildcards in the LDAP configuration, it will not be possible. I think it would be a great feature for Cisco to add to the next release.