directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1546316 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java
Date Thu, 28 Nov 2013 09:00:15 GMT
Author: elecharny
Date: Thu Nov 28 09:00:15 2013
New Revision: 1546316

URL: http://svn.apache.org/r1546316
Log:
Transformed the WARN into a INFO trace when the DN is not valid, to avoid having many traces
when one tries to bind on AD using a domain\name DN.

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java?rev=1546316&r1=1546315&r2=1546316&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java
Thu Nov 28 09:00:15 2013
@@ -214,7 +214,8 @@ public class BindRequestImpl extends Abs
         }
         catch ( LdapInvalidDnException e )
         {
-            LOG.warn( "Unable to convert the name to a DN.", e );
+            // This might still be a valid DN (Windows AD binding for instance)
+            LOG.info( "Unable to convert the name to a DN.", e );
             this.dn = null;
         }
 



Mime
View raw message