]> git.sur5r.net Git - openldap/commitdiff
ITS#2781 don't worry about missing updateref if SLAPD_MULTIMASTER
authorHoward Chu <hyc@openldap.org>
Thu, 23 Oct 2003 01:50:12 +0000 (01:50 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 23 Oct 2003 01:50:12 +0000 (01:50 +0000)
servers/slapd/backend.c

index 009a8855d1e744ed6cd0b65f43692fbb0759118a..ad58b26b633f2a8376cbbc24e5bc7d57333b2160 100644 (file)
@@ -334,6 +334,7 @@ int backend_startup(Backend *be)
 
        /* open each backend database */
        for( i = 0; i < nBackendDB; i++ ) {
+#ifndef SLAPD_MULTIMASTER
                if ( backendDB[i].be_update_ndn.bv_val && (
                        !backendDB[i].be_update_refs &&
                        !backendDB[i].be_syncinfo &&
@@ -351,6 +352,7 @@ int backend_startup(Backend *be)
 #endif
                        return -1;
                }
+#endif
 
                /* append global access controls */
                acl_append( &backendDB[i].be_acl, global_acl );