From: Kurt Zeilenga Date: Mon, 5 Apr 2004 23:08:24 +0000 (+0000) Subject: updateref should be allowed with syncrepl (without updatedn) X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~138 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ef7e08afed20ed42f46c0c6ef317cf7ffc54466;p=openldap updateref should be allowed with syncrepl (without updatedn) --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 6bc90dcf46..3770917cce 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -2086,14 +2086,14 @@ read_config( const char *fname, int depth ) #endif return 1; - } else if ( !be->be_update_ndn.bv_len ) { + } else if ( !SLAP_SHADOW(be) ) { #ifdef NEW_LOGGING LDAP_LOG( CONFIG, INFO, "%s: line %d: " - "updateref line must come after updatedn.\n", + "updateref line must come after syncrepl or updatedn.\n", fname, lineno , 0 ); #else Debug( LDAP_DEBUG_ANY, "%s: line %d: " - "updateref line must after updatedn.\n", + "updateref line must after syncrepl or updatedn.\n", fname, lineno, 0 ); #endif return 1;