From 54fba01be2df4862f24217c01b4a410e4500845d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 25 Mar 2004 09:40:02 +0000 Subject: [PATCH] ITS#3036 check for syncrepl --- servers/slapd/passwd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 )) { -- 2.39.5