FredPenner Posted February 14, 2011 Share Posted February 14, 2011 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 Link to comment https://forums.phpfreaks.com/topic/227582-cannot-get-ldap_modify-to-work/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.