From 7091853dfcd18d56d0236e5c789c4ded17abbda4 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 22 Nov 2002 00:56:20 +0000 Subject: [PATCH] ITS#2176: Change password on slave when multimaster is enabled (do not use multimaster) --- servers/slapd/passwd.c | 3 +++ 1 file changed, 3 insertions(+) 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( -- 2.39.5