From 64b621620b1d41e71e2e0215209720b23b6419d0 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 28 Feb 2003 19:21:38 +0000 Subject: [PATCH] ITS#2324: Allow extended operation plugin to override default from jenarusa@us.ibm.com --- servers/slapd/extended.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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", -- 2.39.5