"Nathan Morrow" <nmorrow(a)spotswood.org> writes:
Two questions for the group
1.
I am running slapd as a ldap proxy which is working fine. I have
tried idetimeout and idle-timeout to shorten the query if the tcp
connection isn’t there for the proxy, but the connection still seems
to hang indefinitely. Again, it works fine when the master ldap
server is there.
overlay pcache
proxyCache bdb 100000 1 1000 100
proxyAttrset 0 proxyAddresses
proxyTemplate (&(objectClass=)(proxyAddresses=)) 0 3600
The query (that works when the master server is available) below,
doesn’t work when the same request is made after that and the server
isn’t there. But that shouldn’t matter if the cache were used. Alas,
no luck.
ldapsearch -x -D 'CN=MTA,OU=Restricted,DC=fake,DC=com’ -b
'OU=Staff,DC=fake,DC=com' -l 5 -Z "(&
(objectClass=person)(proxyAddresses=SMTP:user@fake.com))"
proxyAddresses
In order to test the proxy caching function run your proxy slapd with
-d pcache.
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6