From: Howard Chu Date: Mon, 18 Jul 2011 19:53:23 +0000 (-0700) Subject: Only return requested attrs in sssvlv response X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8eecc9a017584ea0b56b25f0e4750e3b16929de6;p=openldap Only return requested attrs in sssvlv response --- diff --git a/servers/slapd/overlays/sssvlv.c b/servers/slapd/overlays/sssvlv.c index 85267a7285..7eca86a6dc 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.