]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 7 Sep 2011 00:24:18 +0000 (17:24 -0700)
servers/slapd/overlays/sssvlv.c

index aded94abcf0b36a8139d052f8248828cd812a4b9..ea7f769cde7f1bfb6287b3e784674efb5f7804b0 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.