I'm presently trying to create a form to allow users to change certain fields in their Exchange profile however I am running into some problems with the bind required. I have had success with an anonymous bind for extensive searching using the php ldap commands but when I try to bind for a specific user no success.
Details of the bind:
$ds = ldap_connect("<ip address>");
$r = @ldap_bind($ds, "cn=<user name>", "<password>");
It is my understanding that the rootdn is used for username but I have seen mention of problems with Exchange over how this element of the bind is arrived at. Anyone had any success with this approach?
Ian