note 57882 added to function.ldap-bind

From: Date: Tue, 18 Oct 2005 06:47:02 +0000
Subject: note 57882 added to function.ldap-bind
Groups: php.notes 
Request: Send a blank email to php-notes+get-97147@lists.php.net to get a copy of this message
When using Active Directory 2003 (possibly also 2000) you can't search anonymously so you have to bind with a (known) user and password. Or else you will get an Search operations error. I also can confirm that an empty password bind succeeds! So test for an empty password first! Some excellent information is found here: http://www.scit.wlv.ac.uk/~jphb/sst/php/extra/ldap.html http://www.scit.wlv.ac.uk/~jphb/sst/basics/ldap.html ---- Manual Page -- http://www.php.net/manual/en/function.ldap-bind.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57882 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57882&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57882&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57882&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57882&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57882&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57882&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57882&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57882&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#97147) next »