Anonymous avatar 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);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.