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
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