From: Howard Chu Date: Fri, 24 Oct 2003 06:06:55 +0000 (+0000) Subject: Drop SLAPI support X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~488 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9a8093c834ecad5e906ee19a28511343886f939;p=openldap Drop SLAPI support --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 33fdeecf27..9501ef1b99 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -44,10 +44,6 @@ #include "ldap_rq.h" -#ifdef LDAP_SLAPI -#include "slapi.h" -#endif - #define SYNCREPL_STR "syncreplxxx" #define CN_STR "cn=" @@ -397,12 +393,6 @@ do_syncrepl( op.o_bd = be; op.o_conn = &conn; op.o_connid = op.o_conn->c_connid; -#if defined( LDAP_SLAPI ) - if ( slapi_plugins_used ) { - op.o_pb = slapi_pblock_new(); - slapi_x_create_object_extensions( SLAPI_X_EXT_OPERATION, &op ); - } -#endif /* defined( LDAP_SLAPI ) */ /* get syncrepl cookie of shadow replica from subentry */ @@ -645,13 +635,6 @@ do_syncrepl( } done: -#if defined( LDAP_SLAPI ) - if ( op.o_pb ) { - slapi_pblock_destroy( op.o_pb ); - slapi_x_free_object_extensions( SLAPI_X_EXT_OPERATION, &op ); - } -#endif /* defined( LDAP_SLAPI ) */ - if ( syncCookie.bv_val ) ch_free( syncCookie.bv_val ); if ( syncCookie_req.bv_val )