Thank you for your help. Finally, I make it work. Thank you again.
JWD
From: DieterKlünter Date: 2016-10-26 00:11 To: openldap-technical Subject: Re: Proxy cache not work with <attribute not in schema> Am Tue, 25 Oct 2016 11:04:19 +0800 schrieb JWD j-wd@163.com:
slapd 2.4.40 Windows AD as proxy backend.
I found any query match <pcacheTemplate>+<pcacheAttrset>+<attribute not in schema> will answer <pcacheAttrset> value only, <attribute not in schema> will be ignored. This is not what I expected, I need <attribute not in schema> too.
This is not an attribute type nor an attribut e value, this is just a error report. The caching ability of back-ldap is restricted to attributy types and value.
But query anything else that not in cache, <attribute not in schema> will be cached. Log message like this: 580ec506 PROXIED attributeDescription "PRIMARYGROUPID" inserted.
And after that, query match <pcacheTemplate>+<pcacheAttrset>+<attribute not in schema> will answer <attribute not in schema> too. This is what I expected.
Do I have to add schema for <attribute not in schema>? Is there any other way to make <attribute not in schema> CACHEABLE?
You could add an active directory schema to slapd.
-Dieter