set alias dereferencing (please check)

This commit is contained in:
Pierangelo Masarati 2005-04-21 21:19:35 +00:00
parent 5fe42e8853
commit 2d94c4bd52
2 changed files with 3 additions and 0 deletions

View file

@ -1060,6 +1060,7 @@ exact_match:
BER_BVZERO( &base );
}
ber_dupbv_x( &op.o_req_dn, &op.o_req_ndn, op.o_tmpmemctx );
op.ors_deref = LDAP_DEREF_NEVER;
op.ors_slimit = 1;
op.ors_tlimit = SLAP_NO_LIMIT;
op.ors_attrs = slap_anlist_no_attrs;

View file

@ -1231,6 +1231,7 @@ syncrepl_entry(
op->o_tag = LDAP_REQ_SEARCH;
op->ors_scope = LDAP_SCOPE_SUBTREE;
op->ors_deref = LDAP_DEREF_NEVER;
/* get the entry for this UUID */
op->o_req_dn = si->si_base;
@ -1338,6 +1339,7 @@ retry_add:;
op2.o_req_dn = entry->e_name;
op2.o_req_ndn = entry->e_nname;
op2.ors_scope = LDAP_SCOPE_BASE;
op2.ors_deref = LDAP_DEREF_NEVER;
op2.ors_attrs = slap_anlist_all_attributes;
op2.ors_attrsonly = 0;
op2.ors_limit = NULL;