From 090945b89e407c47773ba1e86aad881a922289a5 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 6 Jan 2006 17:08:06 +0000 Subject: [PATCH] allow proxying of dynamic objects (irrespective of the support provided to dynamic objects); but back-meta does not support extended ops yet... --- servers/slapd/back-meta/init.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/servers/slapd/back-meta/init.c b/servers/slapd/back-meta/init.c index 6ce7831391..06549b9c8b 100644 --- a/servers/slapd/back-meta/init.c +++ b/servers/slapd/back-meta/init.c @@ -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; -- 2.39.5