From: Mark Valence Date: Tue, 9 Nov 1999 21:18:37 +0000 (+0000) Subject: Removed previous changes for extensions -- extensions now use moduleload. X-Git-Tag: UCDATA_2_4~222 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=249313f75a1a5b5927fe6054d1682da84767fd50;p=openldap Removed previous changes for extensions -- extensions now use moduleload. --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 4912fe71a0..cee2fe9e3d 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -748,27 +748,6 @@ read_config( const char *fname ) #endif -#ifdef SLAPD_EXTERNAL_EXTENSIONS - } else if ( !strcasecmp( cargv[0], "extension" ) ) { - if ( cargc < 2 ) { - Debug( LDAP_DEBUG_ANY, - "%s: line %d: missing oid in \"extension \" line\n", - fname, lineno, 0 ); - } else if ( cargc < 3 ) { - Debug( LDAP_DEBUG_ANY, - "%s: line %d: missing libpath in \"extension \" line\n", - fname, lineno, 0 ); - } else { - rc = load_extension(cargv[1], cargv[2], cargc - 3, (cargc > 3) ? cargv + 3 : NULL); - if (rc != 0) { - Debug( LDAP_DEBUG_ANY, - "%s: line %d: failed to load or initialize extension library %s\n", - fname, lineno, cargv[2]); - return rc; - } - } -#endif - /* pass anything else to the current backend info/db config routine */ } else { if ( bi != NULL ) {