Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proxycache query issue

Status
Not open for further replies.

imad77

Instructor
Oct 18, 2008
97
CA
Hi there,

I'm trying to proxy and cache some ldap queries proxycache) overlay in openldap 2.2.x.

If I run ldapsearch through this proxycache I get the result but an attribute "newattribute" is missing.
I used a graphical tool and I get the same result for all users.

But I can list it from the LDAP server.
---
# search result
search: 2
result: 0 success
---

My config is as follows with is directly derived from the configuration:

---
# proxycache settings
database ldap
suffix "o=trot.com"
uri ldap://sute.trot.com/
overlay proxycache
proxycache bdb 100000 1 1000 100
proxyAttrset 0 mail
proxyTemplate (|(sn=)(givenName=)) 0 3600
proxyTemplate (displayName=) 0 3600
proxyTemplate (newattribute=) 0 3600


directory /var/lib/ldap
cachesize 20
index objectClass eq
index ou,cn,mail,sn,givenname,displayname eq,pres,sub

---

Any ideas about this issue?

Thanks in advance,

Jay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top