From 7473e1539d080a110a25a62e6fd2bacfe3bd1def Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Tue, 08 May 2012 06:29:29 +0000
Subject: [PATCH] Align with r7957

---
 opendj3/src/main/docbkx/dev-guide/chap-controls.xml |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/opendj3/src/main/docbkx/dev-guide/chap-controls.xml b/opendj3/src/main/docbkx/dev-guide/chap-controls.xml
index e43f98a..952b498 100644
--- a/opendj3/src/main/docbkx/dev-guide/chap-controls.xml
+++ b/opendj3/src/main/docbkx/dev-guide/chap-controls.xml
@@ -977,7 +977,7 @@
     final SearchRequest request =
             Requests.newSearchRequest("dc=example,dc=com",
                         SearchScope.WHOLE_SUBTREE,
-                        "cn=*Class of Service", "*", "+")
+                        "cn=*Class of Service", "cn", "subtreeSpecification")
                     .addControl(SubentriesRequestControl.newControl(
                         true, true));
 
@@ -1003,7 +1003,21 @@
 
   <para>OpenDJ directory server supports the control.</para>
 
-  <programlisting>TODO: pending OPENDJ-486</programlisting>
+  <programlisting language="ldif">dn: cn=Bronze Class of Service,dc=example,dc=com
+cn: Bronze Class of Service
+subtreeSpecification: { base "ou=People", specificationFilter "(classOfService=
+ bronze)" }
+
+dn: cn=Silver Class of Service,dc=example,dc=com
+cn: Silver Class of Service
+subtreeSpecification: { base "ou=People", specificationFilter "(classOfService=
+ silver)" }
+
+dn: cn=Gold Class of Service,dc=example,dc=com
+cn: Gold Class of Service
+subtreeSpecification: { base "ou=People", specificationFilter "(classOfService=
+ gold)" }
+</programlisting>
  </section>
 
  <section xml:id="use-subtree-delete-control">

--
Gitblit v1.10.0