mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
updateref should be allowed with syncrepl (without updatedn)
This commit is contained in:
parent
843400deb7
commit
4ef7e08afe
@ -2086,14 +2086,14 @@ read_config( const char *fname, int depth )
|
|||||||
#endif
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
} else if ( !be->be_update_ndn.bv_len ) {
|
} else if ( !SLAP_SHADOW(be) ) {
|
||||||
#ifdef NEW_LOGGING
|
#ifdef NEW_LOGGING
|
||||||
LDAP_LOG( CONFIG, INFO, "%s: line %d: "
|
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 );
|
fname, lineno , 0 );
|
||||||
#else
|
#else
|
||||||
Debug( LDAP_DEBUG_ANY, "%s: line %d: "
|
Debug( LDAP_DEBUG_ANY, "%s: line %d: "
|
||||||
"updateref line must after updatedn.\n",
|
"updateref line must after syncrepl or updatedn.\n",
|
||||||
fname, lineno, 0 );
|
fname, lineno, 0 );
|
||||||
#endif
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user