diff --git a/mozilla/directory/java-sdk/ldapsp/Readme.html b/mozilla/directory/java-sdk/ldapsp/Readme.html
index e4bdcc6842c..d49d35356b1 100644
--- a/mozilla/directory/java-sdk/ldapsp/Readme.html
+++ b/mozilla/directory/java-sdk/ldapsp/Readme.html
@@ -10,7 +10,7 @@
-Netscape LDAP Service Provider for JNDI (06-04-99)
+Netscape LDAP Service Provider for JNDI (08-02-99)
The Netscape LDAP service provider for JNDI implements the JNDI DirContext
interface. It is implemented as a layer on top of the Netscape Directory
SDK for Java (ldapjdk.jar). While the ldapjdk uses the LDAP connection
@@ -26,7 +26,7 @@ an equivalent of a directory entry in the ldapjdk.
Using Netscape LDAP Service Provider
-The current implementation is based on the JNDI 1.2 beta1. In addition
+The current implementation is based on the JNDI 1.2 FCS. In addition
to the DirContext interface implementation, the Netscape LDAP provider
implements the new JNDI event service (javax.naming.event package)
and support for controls (javax.naming.ldap package) which were
@@ -48,13 +48,13 @@ listed jar files are:
| ldapjdk.jar |
-Netscape Directory SDK for Java 3.1 |
+Netscape Directory SDK for Java 4.0 Beta |
| jndi.jar |
-JNDI 1.2 beta1 |
+JNDI 1.2 FCS |
@@ -460,14 +460,11 @@ to search subtree */
String[] { "sn" });
// specify sort control
ctx.setRequestControls(
-
-new
-Control[] {new LdapSortControl(
-
-
+
+new Control[] {new LdapSortControl(
+
new LdapSortKey[]{
-
-
+
new LdapSortKey("sn", true,null)},Control.CRITICAL)});
/* search for all entries
with surname of Jensen */
@@ -532,9 +529,12 @@ Therefore, the class name specified with the javaClassName attribute
must be available in the local CLASSPATH.
-search() method for schema directory contexts. Instead of DirContext.search(),
-the Context.lookup() request should be used for a schema directory
-context.
+search() and modifyAttribute() methods for schema directory
+contexts. Instead of DirContext.search(), the Context.lookup()
+request should be used for a schema directory context. Instead of DirContext.modifyAttribute(),
+DirContext.deleteSubcontext()
+followed the DirContext.craeteSubcontext()
+should be used.