Syntax change for unbound ldap provider
Paul B. Henson
henson at cpp.edu
Fri May 10 16:29:35 EDT 2019
So I upgraded my test system to 3.4.4 and switched to the new LDAP provider:
idp.ldaptive.provider = org.ldaptive.provider.unboundid.UnboundIDProvider
Upon starting, I got a failure:
Caused by: com.unboundid.ldap.sdk.LDAPException: An error occurred while attempting to resolve address 'ldap.c
pp.edu/': UnknownHostException(ldap.cpp.edu/), ldapSDKVersion=4.0.9, revision=29290
at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:755)
Caused by: java.net.UnknownHostException: ldap.cpp.edu/
at java.net.InetAddress.getAllByName0(InetAddress.java:1281)
Historically I have always configured idp.attribute.resolver.LDAP.ldapURL as "ldap://ldap.cpp.edu/"; it seems this new provider does not like the trailing / 8-/.
I updated the parameter to "ldap://ldap.cpp.edu" and it seems happy now. Easy enough to fix, and don't know that it warrants a mention in the release notes, but just thought I would post about it. Other than that everything seems to working fine.
--
Paul B. Henson | (909) 979-6361 | http://www.cpp.edu/~henson/
Operating Systems and Network Analyst | henson at cpp.edu
California State Polytechnic University | Pomona CA 91768
More information about the users
mailing list