Is there any way to check to see if a Net::LDAP object is connected/bound to a server?
As in:
$ldap = Net::LDAP->new($server);
$mesg = $ldap->bind($stuff);
if ( $ldap->is_connected($possibly_some_server) ) {
print("Connected\n");
}
if ( $mesg->is_bound($possibly_with_a_dn) ) {
Print("Bound\n");
}
etc, etc...
