note 9547 added to ldap_bind
| From: | gparamelle at ina dot fr | Date: | Fri, 10 Nov 2000 11:00:43 +0000 |
| Subject: | note 9547 added to ldap_bind | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7569@lists.php.net to get a copy of this message | ||
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) ;
http://www.php.net/manual/fr/function.ldap-bind.php