note 38640 added to function.ldap-bind

From: Date: Wed, 31 Dec 2003 13:51:01 +0000
Subject: note 38640 added to function.ldap-bind
Groups: php.notes 
Request: Send a blank email to php-notes+get-62724@lists.php.net to get a copy of this message
You should NOT attempt to bind with a made up password. However small the chance, the chance remains that your code produces a valid password. The correct behaviour is to test for an empty password, and if your application will only service authenticated users, not perform any more LDAP operations on behalf of the user - this also happens to be more efficient. ---- Manual Page -- http://www.php.net/manual/en/function.ldap-bind.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38640 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38640&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38640&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#62724) next »