ldap_search_s() and ldap_search_st() will return the LDAP error code resulting from the search operation. ###>ldap_search_s() and ldap_search_st() will return the LDAP error code resulting from the search operation.