]> git.sur5r.net Git - openldap/commitdiff
set deref
authorPierangelo Masarati <ando@openldap.org>
Mon, 18 Apr 2005 09:16:50 +0000 (09:16 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 18 Apr 2005 09:16:50 +0000 (09:16 +0000)
servers/slapd/overlays/dynlist.c

index 1daf77fd05ec3f56d8c0f672376fca4e155996b2..7f7cc287f561eec8bcae9e028488957a830388e1 100644 (file)
@@ -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 );