Actually use alternate LDAP host
authorJamie Cameron <jcameron@webmin.com>
Thu, 12 Mar 2009 20:06:24 +0000 (20:06 +0000)
committerJamie Cameron <jcameron@webmin.com>
Thu, 12 Mar 2009 20:06:24 +0000 (20:06 +0000)
ldap-client/check.cgi

index ef88262..4ec5ccd 100755 (executable)
@@ -29,7 +29,7 @@ else {
        local $ldaphost;
        eval { $ldaphost = $ldap->host(); };
        $ldaphost ||= &get_ldap_host();
-       print &text('check_connected', $ldap->host()),"<p>\n";
+       print &text('check_connected', $ldaphost),"<p>\n";
        }
 
 # Work out the scope