note 9547 deleted from function.ldap-bind by didou
| From: | didou@php.net | Date: | Sun, 04 Feb 2007 18:59:56 +0000 |
| Subject: | note 9547 deleted from function.ldap-bind by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-122822@lists.php.net to get a copy of this message | ||
Note Submitter: gparamelle at ina dot fr
----
if you use ldap_bind() to test an aurhentification, it will return something like "Warning:
LDAP: Unable to bind to server: Invalid credentials in
test.php on line 50"
to avoid this use error_reporting (E_ALL & ~E_NOTICE & ~E_WARNING)
or better solution :
@ldap_bind($ds, $dn, $password) ;