When calling Ldap->search, ErrorHandle::start is called in Ldap->search, and then again in Ldap->connect. This results in an "ErrorHandler already started" exception. Moving the $this->getResource call (which is ultimately responsible for the Ldap->connect call) before the ErrorHandle::start call in the Ldap->search function resolves this issue.
When calling Ldap->search, ErrorHandle::start is called in Ldap->search, and then again in Ldap->connect. This results in an "ErrorHandler already started" exception. Moving the $this->getResource call (which is ultimately responsible for the Ldap->connect call) before the ErrorHandle::start call in the Ldap->search function resolves this issue.

samsonasik/zend-stdlib