[Date Prev][Date Next] [Chronological] [Thread] [Top]

Avoid binding with external directory for cached results



Hi, I'm using slapd 2.3.27 as a metadirectory with two external active
directory servers and pcache overlay enabled. The pcache overlay is
working ok, but when I do a non-anonymous search and slapd gets the
results from local cache, it establishes a new connection to the
external directory, tries to bind and then closes the connection.
Altough I understand that this is the logical behaviour, I'm looking
for some way to avoid this binding against the external directory if
the results of the search are going to be obtained from slapd cache,
in order to increase performance (in my scenario validating
credentials for cached results is not a priority).

If that is not possible, i'd like to know if there is a way to make
slapd stablish a permanent connection to the external directory with
the purpose of doing those credentials validations (instead
establishing a new tcp connection on every search).

Thank you in advance.