Commits

Anonymous committed 9e78d8c

Fix from USER-73

Comments (0)

Files changed (1)

src/java/com/opensymphony/user/provider/ldap/LDAPCredentialsProvider.java

 import javax.naming.Context;
 import javax.naming.NamingEnumeration;
 import javax.naming.NamingException;
+import javax.naming.PartialResultException;
 import javax.naming.directory.*;
 
 
 
                 return true;
             }
+        } catch (PartialResultException pre) {
+            log.error("Connected but encountered error checking if LDAP had more results.  For Unprocessed Continuation References, try adding <property name=\"java.naming.referral\">follow</property> to the LDAPCredentialsProvider config.", pre);
         } catch (NamingException e) {
             log.error("Connected but encountered error checking if LDAP had more results.", e);
         }
 
     public boolean init(Properties properties) {
         if (log.isDebugEnabled()) {
-            log.debug("LDAPCredentialsProvider $Revision: 1.5 $ initializing");
+            log.debug("LDAPCredentialsProvider $Revision: 1.6 $ initializing");
         }
 
         env = new Hashtable(properties);