directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r431981 - /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
Date Wed, 16 Aug 2006 18:35:49 GMT
Author: akarasulu
Date: Wed Aug 16 11:35:48 2006
New Revision: 431981

URL: http://svn.apache.org/viewvc?rev=431981&view=rev
Log:
applied jorges patch for DIRSERVER-693

Modified:
    directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java

Modified: directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java?rev=431981&r1=431980&r2=431981&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
(original)
+++ directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
Wed Aug 16 11:35:48 2006
@@ -835,6 +835,19 @@
                         }
                     }
                 }
+                else
+                {
+                    for ( NamingEnumeration ii = getRootDSE().getAll(); ii.hasMore(); /**/
)
+                    {
+                      // add user attributes specifically asked for
+                        Attribute attr = ( Attribute ) ii.next();
+                        AttributeType type = attrRegistry.lookup( attr.getID() );
+                        if ( realIds.contains( type.getOid() ) )
+                        {
+                            attrs.put( attr );
+                        }
+                    }
+                }
 
                 SearchResult result = new SearchResult( "", null, attrs, false );
                 return new SingletonEnumeration( result );



Mime
View raw message