]> git.sur5r.net Git - openldap/commitdiff
Pick up missed patch, malformed check of suffixes
authorKurt Zeilenga <kurt@openldap.org>
Sun, 2 Sep 2001 17:03:39 +0000 (17:03 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 2 Sep 2001 17:03:39 +0000 (17:03 +0000)
servers/slapd/config.c

index 4f3d58387da4c5c2fbeaaff00ea8f4f5c2ee1aa5..b638e793bb1af61a02cc5c6ab6cf077a9989164c 100644 (file)
@@ -955,7 +955,7 @@ read_config( const char *fname )
                                                if ( strncasecmp( cargv[i], "suffix=", 7 ) == 0 ) {
                                                        char *nsuffix = ch_strdup( cargv[i] + 7 );
                                                        if ( dn_normalize( nsuffix ) != NULL ) {
-                                                               if ( be_issuffix( be, nsuffix ) ) {
+                                                               if ( select_backend( nsuffix, 0 ) == be ) {
                                                                        charray_add( &be->be_replica[nr]->ri_nsuffix, nsuffix );
                                                                } else {
                                                                        Debug( LDAP_DEBUG_ANY,