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

Persistence Search (1.2.840.113556.1.4.528)



Our OpenLDAP setup includes a master server (prod2) that uses the syncprov overlay to provide replication. The slave (prod1) is being successfuly replicated by using syncrepl and refreshAndPersist.

We have a 3rd-party vendor application that depends on the Persistence Storage Control to keep it's data up-to-date from the master ldap server (prod2). Unfortunately this refresh isn't working and we see the following error messages in the ldap server log:

Jul 28 17:02:19 prod2 slapd[16790]: conn=357 op=2 SEARCH RESULT tag=101 err=12 nentries=0 text=critical extension is not recognized
Jul 28 17:02:19 prod2 slapd[16790]: do_search: get_ctrls failed
Jul 28 17:02:19 prod2 slapd[16790]: conn=357 op=3 SEARCH RESULT tag=101 err=12 nentries=0 text=critical extension is not recognized
Jul 28 17:02:19 prod2 slapd[16790]: do_search: get_ctrls failed
Jul 28 17:02:20 prod2 slapd[16790]: conn=357 op=4 UNBIND
Jul 28 17:02:20 prod2 slapd[16790]: conn=357 fd=17 closed
Jul 28 17:02:20 prod2 slapd[16790]: connection_read(17): no connection!

I ran a ldapsearch:

# ldapsearch -h prod2 -D '<bind dn>' -x -w <bind password> -s base "" "cn=subschema" supportedControl supportedFeatures supportedExtension

and the results did not have the Persistence Search Control oid 1.2.840.113556.1.4.528 listed. How can I get support for this Persistence Search Control in our openldap2-2.3.24.

Also, the man page for slapo-syncprov mentions that it includes support for persistent search. If this is the solution what do I need to turn this functionality on.

From the man page of

" The Syncrepl Provider overlay implements the provider-side support for syncrepl replication, including persistent search functionality."

Thanks in advance for help or pointers on this.

Regards
-sud