From 1dbf872d617e4c10cd4240f881256d1745f17d49 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 18 Apr 2005 09:16:50 +0000 Subject: [PATCH] set deref --- servers/slapd/overlays/dynlist.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.5