]> git.sur5r.net Git - openldap/commitdiff
Allow global plugins.
authorLuke Howard <lukeh@openldap.org>
Tue, 21 Jan 2003 15:11:35 +0000 (15:11 +0000)
committerLuke Howard <lukeh@openldap.org>
Tue, 21 Jan 2003 15:11:35 +0000 (15:11 +0000)
servers/slapd/config.c

index ec40b43e819e4dd5aa852e254961282c46897cf2..a9677b60389c2ab8dbdaceb55ffaf94477c890cd 100644 (file)
@@ -2324,6 +2324,7 @@ read_config( const char *fname, int depth )
                } else if ( strcasecmp( cargv[0], "plugin" ) == 0 ) {
 #if defined( LDAP_SLAPI )
 
+#ifdef notdef /* allow global plugins, too */
                        /*
                         * a "plugin" line must be inside a database
                         * definition, since we implement pre-,post- 
@@ -2347,6 +2348,7 @@ read_config( const char *fname, int depth )
                                        != LDAP_SUCCESS ) {
                                return( 1 );
                        }
+#endif /* notdef */
 
 #else /* !defined( LDAP_SLAPI ) */
 #ifdef NEW_LOGGING