From: Howard Chu Date: Mon, 18 Jul 2011 19:53:23 +0000 (-0700) Subject: Only return requested attrs in sssvlv response X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~317 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46af069a1abdaed70d0602e223dbe54723f07dd6;p=openldap Only return requested attrs in sssvlv response --- diff --git a/servers/slapd/overlays/sssvlv.c b/servers/slapd/overlays/sssvlv.c index aded94abcf..ea7f769cde 100644 --- a/servers/slapd/overlays/sssvlv.c +++ b/servers/slapd/overlays/sssvlv.c @@ -630,6 +630,8 @@ static void send_entry( if ( !so->so_tree ) return; + rs->sr_attrs = op->ors_attrs; + /* RFC 2891: If critical then send the entries iff they were * succesfully sorted. If non-critical send all entries * whether they were sorted or not.