mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#4027 select_backend should ignore manageDSAit when glue is in use.
This commit is contained in:
parent
7486ef93df
commit
da1a1f9133
@ -614,7 +614,13 @@ select_backend(
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
b2 = be;
|
||||
/* If any parts of the tree are glued, use the first
|
||||
* match regardless of manageDSAit. Otherwise use the
|
||||
* last match.
|
||||
*/
|
||||
if( !( SLAP_DBFLAGS( be ) & ( SLAP_DBFLAG_GLUE_INSTANCE |
|
||||
SLAP_DBFLAG_GLUE_SUBORDINATE )))
|
||||
b2 = be;
|
||||
}
|
||||
return b2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user