]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#2781 skip updateref check whem Multimaster is enabled
authorHoward Chu <hyc@openldap.org>
Tue, 2 Dec 2003 02:28:42 +0000 (02:28 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 2 Dec 2003 02:28:42 +0000 (02:28 +0000)
servers/slapd/backend.c

index f77b0fc0bc5a80c3b488f743585e97d9f49caee4..22b443aecc3e92fd1f2560ba13d702c1a3e54b8e 100644 (file)
@@ -314,6 +314,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 &&
                        !default_referral ) ) {
@@ -329,6 +330,7 @@ int backend_startup(Backend *be)
 #endif
                        return -1;
                }
+#endif
 
                /* append global access controls */
                acl_append( &backendDB[i].be_acl, global_acl );