directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: svn commit: r406157 - in /directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations: ChangePassword.java DeletePrincipal.java GetPrincipal.java
Date Sun, 14 May 2006 00:32:37 GMT
Enrique,

You mind applying these bug fixes to the 1.0 branch as well?

Thanks,
Alex


erodriguez@apache.org wrote:
> Author: erodriguez
> Date: Sat May 13 15:18:22 2006
> New Revision: 406157
>
> URL: http://svn.apache.org/viewcvs?rev=406157&view=rev
> Log:
> Updated library shared by Kerberos and Change Password to use case-insensitive attribute
ids.
>
> Modified:
>     directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java
>     directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/DeletePrincipal.java
>     directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java
>
> Modified: directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java
> URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java?rev=406157&r1=406156&r2=406157&view=diff
> ==============================================================================
> --- directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java
(original)
> +++ directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java
Sat May 13 15:18:22 2006
> @@ -96,7 +96,7 @@
>          String[] attrIDs =
>              { KerberosAttribute.PRINCIPAL, KerberosAttribute.VERSION, KerberosAttribute.TYPE,
KerberosAttribute.KEY };
>  
> -        Attributes matchAttrs = new BasicAttributes( false ); // case-sensitive
> +        Attributes matchAttrs = new BasicAttributes( true );
>          matchAttrs.put( new BasicAttribute( KerberosAttribute.PRINCIPAL, principal )
);
>  
>          NamingEnumeration answer = ctx.search( "", matchAttrs, attrIDs );
>
> Modified: directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/DeletePrincipal.java
> URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/DeletePrincipal.java?rev=406157&r1=406156&r2=406157&view=diff
> ==============================================================================
> --- directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/DeletePrincipal.java
(original)
> +++ directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/DeletePrincipal.java
Sat May 13 15:18:22 2006
> @@ -88,7 +88,7 @@
>          String[] attrIDs =
>              { KerberosAttribute.PRINCIPAL, KerberosAttribute.VERSION, KerberosAttribute.TYPE,
KerberosAttribute.KEY };
>  
> -        Attributes matchAttrs = new BasicAttributes( false ); // case-sensitive
> +        Attributes matchAttrs = new BasicAttributes( true );
>          matchAttrs.put( new BasicAttribute( KerberosAttribute.PRINCIPAL, principal )
);
>  
>          // Search for objects that have those matching attributes
>
> Modified: directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java
> URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java?rev=406157&r1=406156&r2=406157&view=diff
> ==============================================================================
> --- directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java
(original)
> +++ directory/trunks/apacheds/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/GetPrincipal.java
Sat May 13 15:18:22 2006
> @@ -77,7 +77,7 @@
>                  KerberosAttribute.SAM_TYPE, KerberosAttribute.ACCOUNT_DISABLED, 
>                  KerberosAttribute.ACCOUNT_EXPIRATION_TIME, KerberosAttribute.ACCOUNT_LOCKEDOUT
};
>  
> -        Attributes matchAttrs = new BasicAttributes( false ); // case-sensitive
> +        Attributes matchAttrs = new BasicAttributes( true );
>          matchAttrs.put( new BasicAttribute( KerberosAttribute.PRINCIPAL, principal.getName()
) );
>  
>          PrincipalStoreEntry entry = null;
>
>
>
>   


Mime
View raw message