]> git.sur5r.net Git - openldap/commitdiff
Only return requested attrs in sssvlv response
authorHoward Chu <hyc@openldap.org>
Mon, 18 Jul 2011 19:53:23 +0000 (12:53 -0700)
committerHoward Chu <hyc@openldap.org>
Mon, 18 Jul 2011 19:53:23 +0000 (12:53 -0700)
servers/slapd/overlays/sssvlv.c

index 85267a728584a879ba856c11751f25d05da78624..7eca86a6dcc457eaec62583f16e135e28d9c43e9 100644 (file)
@@ -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.