PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_LDAP » Bug #10064

Packages does only work with anonymous bind.

Details

Submitted2007-02-09 16:30 UTC
Fromsandro dot pedrocchi at mitlinks dot ch
Assignedbeni
StatusNo Feedback
PackageNet_LDAP
PHP Version5.1.0
OSLinux
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;
}*/