diff --git a/servers/slapd/overlays/sssvlv.c b/servers/slapd/overlays/sssvlv.c
index 85267a728584a879ba856c11751f25d05da78624..7eca86a6dcc457eaec62583f16e135e28d9c43e9 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.