Thanks in advance,
Kala B.
You need to handle that case yourself :-(
The problem in general with automatically chasing referrals is how to
authenticate to the other server. Net::LDAP doesn't cache your bind
credentials (nor should it) so it isn't possible to resend them.
A very important point is that you might not even want to, or be able to,
use the same credentials with the other server. This is particularly
important if you're trying to modify something.
We've talked about adding some sort of callback to control referral chasing,
but nothing's come of it as far as I can remember.
On the plus side, you can use the URI class to split up the referral URI
returned into the bits required to pass into Net::LDAP->new().
> Thanks in advance,
> Kala B.
Cheers,
Chris