Hello all,
Not sure how to troubleshoot this problem, perhaps you can offer me some
assistance. I have a page that does a simple LDAP lookup using Zend_Ldap and ZF
v1.9.1. When I have restart the server, initially it works, but after about 30
minutes or so, it starts failing about 1 in every 3-5 requests. Nothing in the
error log and the exception just says:
Message: LDAP error: 0x51 (Can't contact LDAP server):
ldaps://ldap.sample.com:636
The LDAP is a stable, busy service with no other applications having problems,
only my ZF application. Any thoughts on how I can troubleshoot this issue? Here
is my code:
public function search() {
$ldap = $this->getResource();
$filter = $this->getFilter();
$ldap->bind();
$results = $ldap->search ( $filter, null, Zend_Ldap::SEARCH_SCOPE_SUB,
array(), 'sn');
return $results;
}
Any thoughts or recommendations?
Thank you,
Henry