You are here

function ldaphelp_bind_trial_message in LDAP integration 6

1 call to ldaphelp_bind_trial_message()
ldaphelp_bindtrials in ldaphelp/ldaphelp_wizard.inc

File

ldaphelp/ldaphelp.module, line 172
The ldaphelp module is a module to help admins debug ldap_integration modules.

Code

function ldaphelp_bind_trial_message($trial) {
  $tls = $trial['tls'] ? "1" : "0";
  $text = "Failed to bind to server: " . $trial['server'] . ", port=" . $trial['port'] . ", tls={$tls} <br/>";
  $text .= "error: " . $trial['results']['bind_result_error'];
  return $text;
}