note 19388 deleted from function.ldap-bind by cmb

From: Date: Sun, 17 Nov 2019 09:10:32 +0000
Subject: note 19388 deleted from function.ldap-bind by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213129@lists.php.net to get a copy of this message
Note Submitter: tpiper at pinnacle dot couk ---- An example to help you authenticate against M$ Exchange, rather than use anonymous mode... you will need to create an NT domain member (I've called it ldapquery) and give it search permission in the LDAP protocol settings in Exchange. then: $ds=ldap_connect ("<exchange server>"); $r=@ldap_bind($ds,"cn=ldapquery, o=<your organisation>, c=<your country>, ","<the password for ldapquery account>"); we've tested this on Exchange 5.5SP3.

« previous php.notes (#213129) next »