[Date Prev][Date Next] [Chronological] [Thread] [Top]

Password changes don't propogate when MULTIMASTER replication is enabled (ITS#2176)



Full_Name: Ganesan R
Version: 2.1.8
OS: Debian GNU/Linux 3.0
URL: 
Submission from: (NULL) (64.104.129.137)


I have not tagged this as a security issue because Multimaster replication is
an experimental feature and is not enabled by default. The following patch
fixes the problem.

-----------------------------------------------------------------------------
--- passwd.c    11 Nov 2002 10:40:47 -0000      1.1.1.1
+++ passwd.c    11 Nov 2002 13:08:05 -0000      1.2
@@ -69,12 +69,15 @@
                rc = LDAP_OTHER;
 #endif
 
+#ifndef SLAPD_MULTIMASTER
+       /* This only applies for non 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(
                        be, conn, op,
------------------------------------------------------------------------------