]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-meta/init.c
refine fix to ITS#4315; apply it to back-meta as well
[openldap] / servers / slapd / back-meta / init.c
index 6ce783139107d6db698029f3a966c6cbff71492f..06549b9c8b98bb8e2e5abbdbf3a210d8b7e30e17 100644 (file)
@@ -40,6 +40,20 @@ int
 meta_back_initialize(
        BackendInfo     *bi )
 {
+       bi->bi_flags =
+#if 0
+       /* this is not (yet) set essentially because back-meta does not
+        * directly support extended operations... */
+#ifdef LDAP_DYNAMIC_OBJECTS
+               /* this is set because all the support a proxy has to provide
+                * is the capability to forward the refresh exop, and to
+                * pass thru entries that contain the dynamicObject class
+                * and the entryTtl attribute */
+               SLAP_BFLAG_DYNAMIC |
+#endif /* LDAP_DYNAMIC_OBJECTS */
+#endif
+               0;
+
        bi->bi_open = meta_back_open;
        bi->bi_config = 0;
        bi->bi_close = 0;