directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r230471 - /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/DefaultContextPartitionNexus.java
Date Fri, 05 Aug 2005 13:56:41 GMT
Author: akarasulu
Date: Fri Aug  5 06:56:37 2005
New Revision: 230471

URL: http://svn.apache.org/viewcvs?rev=230471&view=rev
Log:
added vendorVersion to rootdse

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/DefaultContextPartitionNexus.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/DefaultContextPartitionNexus.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/DefaultContextPartitionNexus.java?rev=230471&r1=230470&r2=230471&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/DefaultContextPartitionNexus.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/DefaultContextPartitionNexus.java
Fri Aug  5 06:56:37 2005
@@ -73,6 +73,9 @@
     /** the vendorName DSE operational attribute */
     private static final String VENDORNAME_ATTR = "vendorName";
 
+    /** the vendorVersion DSE operational attribute */
+    private static final String VENDORVERSION_ATTR = "vendorVersion";
+
     /** the namingContexts DSE operational attribute */
     private static final String NAMINGCTXS_ATTR = "namingContexts";
 
@@ -119,6 +122,10 @@
 
         attr = new LockableAttributeImpl( VENDORNAME_ATTR );
         attr.add( ASF );
+        rootDSE.put( attr );
+
+        attr = new LockableAttributeImpl( VENDORVERSION_ATTR );
+        attr.add( "$Rev$" );
         rootDSE.put( attr );
     }
 



Mime
View raw message