Hi there,
I am trying to get ldap_modify to change an attribute in my Active Directory.
$activeUser="Test Guy";
$floorname = "First Floor";
$entry[physicaldeliveryofficename] = $floorname
$results = ldap_modify($ds,"CN=$activeUser,OU=Test,DC=LDAPSERVER,DC=COM", $entry);
if (TRUE === $result) {
echo "The entry was successfully modified.";
} else {
echo "The entry could not be modified.";
}
Am I doing something wrong?
Thanks in advance,
ML