Bug #309
closedmetacat does not follow LDAP referrals
0%
Description
Metacat can't authenticate against the LTER ldap db because it doesn't need to
follow referrals properly. It was never implemented this way. Need to modify
the AuthLdap class to do so. This can be done by following the examples for
JNDI at ther following url:
http://java.sun.com/products/jndi/tutorial/ldap/referral/follow.html
Updated by Matt Jones about 23 years ago
Have a potential fix in place on the 'jones' context testing environment. Need
someone (David?) with an LTER account to test if login now works using referrals.
Updated by Chad Berkley about 23 years ago
I'm pretty sure the referrals are working correctly, however now, when a user logs in it takes on the order of 10-15 seconds for the login action to finish. I have traced this to the method javax.naming.NamingEnumeration.hasMore(). This method is called several times in the method edu.ucsb.nceas.metacat.AuthLdap.getIdentifyingName(). Everytime this method is executed there is a 2-5 second delay in the execution of metacat.