From: Pierangelo Masarati Date: Mon, 18 Apr 2005 09:16:50 +0000 (+0000) Subject: set deref X-Git-Tag: OPENLDAP_AC_BP~877 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1dbf872d617e4c10cd4240f881256d1745f17d49;p=openldap set deref --- diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index 1daf77fd05..7f7cc287f5 100644 --- a/servers/slapd/overlays/dynlist.c +++ b/servers/slapd/overlays/dynlist.c @@ -300,6 +300,7 @@ dynlist_send_entry( Operation *op, SlapReply *rs ) cb.sc_next = NULL; o.o_callback = &cb; + o.ors_deref = LDAP_DEREF_NEVER; o.ors_limit = NULL; o.ors_tlimit = SLAP_NO_LIMIT; o.ors_slimit = SLAP_NO_LIMIT; @@ -516,6 +517,7 @@ dynlist_compare( Operation *op, SlapReply *rs ) } o.ors_scope = LDAP_SCOPE_BASE; + o.ors_deref = LDAP_DEREF_NEVER; an[0].an_name = op->orc_ava->aa_desc->ad_cname; an[0].an_desc = op->orc_ava->aa_desc; BER_BVZERO( &an[1].an_name );