Hi,
I have apache 2 installed on my win2k machine. I am trying to connect to a ldap server on domino. It gets connected, but when I try to compare the user name and password I get the following error.
Warning: ldap_compare(): Compare: No such object in C:\Apache2\htdocs\murali\includes\class.ldap.php on line 109.
line no 109 in my class.ldap.php reads as
if (ldap_compare($this->ldap,"cn=".$data[0]["cn"][0].",$this->rootdn","userpassword",$password))
{
$this->UserId = $data[0]["uid"][0];
$this->CommonName = $data[0]["cn"][0];
$retval=1;
}
else
{
retval=0;
}
any suggestions?