From: Pierangelo Masarati Date: Fri, 22 Nov 2002 00:56:20 +0000 (+0000) Subject: ITS#2176: Change password on slave when multimaster is enabled (do not use multimaster) X-Git-Tag: NO_SLAP_OP_BLOCKS~779 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7091853dfcd18d56d0236e5c789c4ded17abbda4;p=openldap ITS#2176: Change password on slave when multimaster is enabled (do not use multimaster) --- diff --git a/servers/slapd/passwd.c b/servers/slapd/passwd.c index 9d280d4296..45fcaa2592 100644 --- a/servers/slapd/passwd.c +++ b/servers/slapd/passwd.c @@ -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(