Welcome Guest, Not a member yet? Register   Sign In
Shouldn't a custom library be logged as when its loaded ?
#3

[eluser]scottelundgren[/eluser]
Right and I'm doing that and absolutely not of the messages are being written to the log:

if ($entry["count"] > 0 ) {
$dn = $entry[0]["distinguishedname"][0];
log_message('debug', "Found dn: ".$dn." for : ".$username);
if (ldap_bind($connection, $dn, $password)) {
return true;
} else {
$this->error = "Could not authenticate ".$username.". Did you mistype your password ?";
log_message('debug', "could not authenticate ".$username);
return false;
}


Messages In This Thread
Shouldn't a custom library be logged as when its loaded ? - by El Forum - 10-24-2007, 03:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB