Commit 9220b80e authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

import fix to ITS#5073

parent 24b2774f
......@@ -2,9 +2,10 @@ OpenLDAP 2.3 Change Log
OpenLDAP 2.3.38 Engineering
Fixed slapadd check for ';binary' when required (ITS#5071)
Fixed slapd AVA_Sort on multivalued RDNs (ITS#5057)
Fixed slapd integer/pointer types and overflow (ITS#5035)
Fixed slapd select_backend/ManageDSAit (ITS#4986)
Fixed slapd integer/pointer types and overflow (ITS#5035)
Fixed slapd AVA_Sort on multivalued RDNs (ITS#5057)
Fixed slapd syncrepl searchbase scope (ITS#5073)
Fixed slapd-bdb missing index warning (ITS#5037)
Fixed slapd-bdb Quick index for ID 0 (ITS#5052)
Fixed slapd-bdb spurious empty DN warnings during add (ITS#5079)
......
......@@ -2892,6 +2892,14 @@ parse_syncrepl_line(
Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->msg, 0 );
return -1;
}
if ( select_backend( &si->si_base, 0, 0 ) != c->be ) {
ber_memfree( si->si_base.bv_val );
snprintf( c->msg, sizeof( c->msg ),
"Base DN \"%s\" is not within the database naming context",
val );
Debug( LDAP_DEBUG_ANY, "%s: %s.\n", c->log, c->msg, 0 );
return -1;
}
gots |= GOT_BASE;
} else if ( !strncasecmp( c->argv[ i ], LOGBASESTR "=",
STRLENOF( LOGBASESTR "=" ) ) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment