commit | 773e8e30f1ca2277d54480e0502ac5433a9442a1 | [log] [tgz] |
---|---|---|
author | James Y Knight <jyknight@google.com> | Tue Jan 04 02:40:32 2011 -0500 |
committer | Shawn O. Pearce <sop@google.com> | Fri Jun 24 09:21:38 2011 -0700 |
tree | 7ea007c9ccc08f87b6543fa62f8bbda938895b7d | |
parent | 30174be3842e3167ff01b76ff85811b013dca601 [diff] |
Ignore PartialResultException from LDAP. This exception occurs when the server isn't following referrals for you, and thus the result contains a referral. That happens when you're using Active Directory. You almost certainly don't really want to follow referrals in AD *anyways*, so just ignore these exceptions, so we can still use the actual data. Inspired by: https://src.springframework.org/svn/spring-ldap/trunk/core/src/main/java/org/springframework/ldap/core/LdapTemplate.java Change-Id: I484145a2e262173de6b3ac4081608bd684577916 Signed-Off-By: James Y Knight <jyknight@google.com> (cherry picked from commit 1244ed057467ae07f4f0c6a7d70104ed3a5117dd)