]> git.sur5r.net Git - openldap/commitdiff
set alias dereferencing (please check)
authorPierangelo Masarati <ando@openldap.org>
Thu, 21 Apr 2005 21:19:35 +0000 (21:19 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 21 Apr 2005 21:19:35 +0000 (21:19 +0000)
servers/slapd/saslauthz.c
servers/slapd/syncrepl.c

index a69961b89ede151fae85767e9e0430f35dfef7ba..001c0ecdb0935eb941f20a96f72d5526e673cad9 100644 (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;
index 48d9faf53c8918ade107b8f0d751b0be5b6ab067..e41329f1f07b09968cac5ce4f189cab092d4b287 100644 (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;