如何cachingOpenLDAP元数据库(用于Websphere Application Server)?

我已经在OpenLDAP服务器上为两个不同的Active Diretoriesconfiguration了Meta数据库目录,这是工作。 但是现在我想为这个OpenLDAP设置caching,但我不知道如何。

从我的slapd.conf

 database meta suffix "dc=openldap,dc=domain,dc=com" rootdn "cn=Manager,dc=openldap,dc=domain,dc=com" rootpw pass chase-referrals no nretries 100 bind-timeout 1000000 

在这两行之后是AD的configuration。

我发现下面的代码,但是当我使用这个或类似的configuration,我发现在Web上,并重新启动服务器与WAS在LDAPconfiguration为联邦存储库,然后WAS未启动(networking服务器是)。 但是,当我通过Softerra LDAP浏览器检查LDAP时,则可以访问LDAP。

 overlay proxycache proxyCache bdb 100000 1 1000 1 proxyAttrset 0 mail telephonenumber proxyTemplate (sn=) 0 3600 proxyTemplate (&(sn=)(givenName=)) 0 3600 cachesize 20 directory /var/lib/ldap/meta index objectClass eq index cn,sn,uid,mail pres,eq,sub 

OpenLDAPcaching是如何工作的? 谢谢