]> git.sur5r.net Git - openldap/commitdiff
ITS#2176: Change password on slave when multimaster is enabled (do not use multimaster)
authorPierangelo Masarati <ando@openldap.org>
Fri, 22 Nov 2002 00:56:20 +0000 (00:56 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 22 Nov 2002 00:56:20 +0000 (00:56 +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(