Home » Networking » Net_LDAP » Bug #10064
Packages does only work with anonymous bind.
Details
| Submitted | 2007-02-09 16:30 UTC |
|---|---|
| From | sandro dot pedrocchi at mitlinks dot ch |
| Assigned | beni |
| Status | No Feedback |
| Package | Net_LDAP |
| PHP Version | 5.1.0 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2007-02-09 16:30 UTC] sandro dot pedrocchi at mitlinks dot ch
Description:
------------
Why yout try to do an anonymous beind befor bind it with user and password.
//
// Attempt an anonymous bind.
//
/*if (! @ldap_bind($this->_link)) {
$current_error = PEAR::raiseError("Bind failed: " .
@ldap_error($this->_link),
@ldap_errno($this->_link));
//
// DO NOT attempt to call ldap_close on this connection ID,
// even attempting to do so can be fatal. Just discard the
// link ID and record the host as down.
//
$this->_link = false;
$this->_down_host_list[] = $host;
continue;
}*/