directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1233927 - /directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
Date Fri, 20 Jan 2012 14:29:18 GMT
Author: pamarcelot
Date: Fri Jan 20 14:29:18 2012
New Revision: 1233927

URL: http://svn.apache.org/viewvc?rev=1233927&view=rev
Log:
Fix for DIRSTUDIO-760 (Unable to bind on an Active Directory server using 'domain\userid').

Modified:
    directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java

Modified: directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java?rev=1233927&r1=1233926&r2=1233927&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
(original)
+++ directory/studio/trunk/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
Fri Jan 20 14:29:18 2012
@@ -356,7 +356,7 @@ public class DirectoryApiConnectionWrapp
                             if ( connection.getConnectionParameter().getAuthMethod() == ConnectionParameter.AuthenticationMethod.SIMPLE
)
                             {
                                 BindRequest bindRequest = new BindRequestImpl();
-                                bindRequest.setName( new Dn( bindPrincipal ) );
+                                bindRequest.setName( bindPrincipal );
                                 bindRequest.setCredentials( bindPassword );
                                 bindResponse = ldapConnection.bind( bindRequest );
                             }



Mime
View raw message