else {
ldc->reason = result->reason;
}
return(result->rc);
if (NULL != result) {
} else {
return(APR_EGENERAL);
/* Now that we have an ldap struct, add it to the referral list for rebinds. */