ITS#3036 check for syncrepl

This commit is contained in:
Howard Chu 2004-03-25 09:40:02 +00:00
parent 1a314f3bca
commit 54fba01be2

View file

@ -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 )) {