LDAP client should handle referral failure correctly
Today, a knb website user reported that she could not register an ldap account through the knb web site. The result turned out is that a new referral, which is not up, was added to the ldap server. The failure of referral cause ldapweb.cgi failed. It seems that Morpho couldn't get ldap tree correctly either.
The reason of the failure is the ldap client couldn't handle the situation that referral ldap is down.
#1 Updated by Jing Tao over 14 years ago
The reason is the ldapweb.cgi called "die" command if a ldap server is down and obviously appache is not good at the die command. Now we changed the rules. If main ldap server is down, a error page will return to the user. If referral server is down, it will be ignored silently.