]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
multimaster fix
authorKurt Zeilenga <kurt@openldap.org>
Tue, 26 Nov 2002 19:25:35 +0000 (19:25 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 26 Nov 2002 19:25:35 +0000 (19:25 +0000)
servers/slapd/passwd.c

index 9d280d42964f65aa8883f132d8c089f1eb5a8742..45fcaa259239c526b9d2cb75f21d6108f3472cc8 100644 (file)
@@ -69,11 +69,14 @@ int passwd_extop(
                rc = LDAP_OTHER;
 #endif
 
+#ifndef SLAPD_MULTIMASTER
+       /* This does not apply to multi-master case */
        } else if( be->be_update_ndn.bv_len ) {
                /* we SHOULD return a referral in this case */
                *refs = referral_rewrite( be->be_update_refs,
                        NULL, NULL, LDAP_SCOPE_DEFAULT );
                        rc = LDAP_REFERRAL;
+#endif /* !SLAPD_MULTIMASTER */
 
        } else {
                rc = be->be_extended(