ITS#4027 select_backend should ignore manageDSAit when glue is in use.

This commit is contained in:
Howard Chu 2005-10-03 03:12:32 +00:00
parent 7486ef93df
commit da1a1f9133

View File

@ -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;
}