/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2006 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
int
fe_op_search( Operation *op, SlapReply *rs )
{
- int manageDSAit;
- int be_manageDSAit;
BackendDB *bd = op->o_bd;
- manageDSAit = get_manageDSAit( op );
-
/* fake while loop to allow breaking out */
while ( op->ors_scope == LDAP_SCOPE_BASE ) {
Entry *entry = NULL;
* if we don't hold it.
*/
- be_manageDSAit = manageDSAit;
-
- op->o_bd = select_backend( &op->o_req_ndn, be_manageDSAit, 1 );
+ op->o_bd = select_backend( &op->o_req_ndn, 1 );
if ( op->o_bd == NULL ) {
rs->sr_ref = referral_rewrite( default_referral,
NULL, &op->o_req_dn, op->ors_scope );