From: Howard Chu Date: Thu, 25 Mar 2004 09:40:02 +0000 (+0000) Subject: ITS#3036 check for syncrepl X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~176 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=54fba01be2df4862f24217c01b4a410e4500845d;p=openldap ITS#3036 check for syncrepl --- diff --git a/servers/slapd/passwd.c b/servers/slapd/passwd.c index a70fcc2102..bfb271b675 100644 --- a/servers/slapd/passwd.c +++ b/servers/slapd/passwd.c @@ -110,7 +110,8 @@ int passwd_extop( #ifndef SLAPD_MULTIMASTER /* This does not apply to multi-master case */ - if( op->o_bd->be_update_ndn.bv_len ) { + if( op->o_bd->be_update_ndn.bv_len || + !LDAP_STAILQ_EMPTY( &op->o_bd->be_syncinfo )) { /* we SHOULD return a referral in this case */ BerVarray defref = NULL; if ( !LDAP_STAILQ_EMPTY( &op->o_bd->be_syncinfo )) {