From: Pierangelo Masarati Date: Fri, 6 Jan 2006 16:33:14 +0000 (+0000) Subject: allow proxying of dynamic objects (irrespective of the support provided to dynamic... X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~432 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18beda81a0e6b476afbef81e5fd676804142ca32;p=openldap allow proxying of dynamic objects (irrespective of the support provided to dynamic objects) --- diff --git a/servers/slapd/back-ldap/init.c b/servers/slapd/back-ldap/init.c index bfb08df844..77a10e78c8 100644 --- a/servers/slapd/back-ldap/init.c +++ b/servers/slapd/back-ldap/init.c @@ -41,6 +41,16 @@ ldap_back_open( BackendInfo *bi ) int ldap_back_initialize( BackendInfo *bi ) { + bi->bi_flags = +#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 */ + 0; + bi->bi_open = ldap_back_open; bi->bi_config = 0; bi->bi_close = 0;