From: Kurt Zeilenga Date: Fri, 28 Feb 2003 19:21:38 +0000 (+0000) Subject: ITS#2324: Allow extended operation plugin to override default X-Git-Tag: NO_SLAP_OP_BLOCKS~243 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=64b621620b1d41e71e2e0215209720b23b6419d0;p=openldap ITS#2324: Allow extended operation plugin to override default from jenarusa@us.ibm.com --- diff --git a/servers/slapd/extended.c b/servers/slapd/extended.c index 5b39e21707..f7de88b694 100644 --- a/servers/slapd/extended.c +++ b/servers/slapd/extended.c @@ -157,16 +157,13 @@ do_extended( goto done; } - if( !(ext = find_extop(supp_ext_list, &reqoid)) #ifdef LDAP_SLAPI - && !(funcAddr) -#endif - ) { -#ifdef LDAP_SLAPI - /* Netscape extended operation */ - getPluginFunc( &reqoid, &funcAddr ); + getPluginFunc( &reqoid, &funcAddr ); /* NS-SLAPI extended operation */ + if( !funcAddr && !(ext = find_extop(supp_ext_list, &reqoid ))) +#else + if( !(ext = find_extop(supp_ext_list, &reqoid ))) #endif - + { #ifdef NEW_LOGGING LDAP_LOG( OPERATION, ERR, "do_extended: conn %d unsupported operation \"%s\"\n",