Hi Radovan,

was this change in getRootDse() on purpose?

I noticed it because of a test failure in the server's test [1] when I
switch the API version to 2.0.3-SNAPSHOT.

But I agree with the change, it's the operational attributes that are of
interest when fetching it :-)

Kind Regards,
Stefan

[1]
https://github.com/apache/directory-server/blob/master/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/operations/GetRootDseTest.java#L80


> diff --git 
> a/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
>  
> b/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
> index 0d425a3..26c4db2 100644
> --- 
> a/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
> +++ 
> b/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java
> @@ -4301,7 +4301,7 @@ public class LdapNetworkConnection extends 
> AbstractLdapConnection implements Lda
>      @Override
>      public Entry getRootDse() throws LdapException
>      {
> -        return lookup( Dn.ROOT_DSE, 
> SchemaConstants.ALL_USER_ATTRIBUTES_ARRAY );
> +        return lookup( Dn.ROOT_DSE, SchemaConstants.ALL_ATTRIBUTES_ARRAY );
>      }

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to