does ldap_search_s
api fail when it does not find anything or if the query was syntactically wrong?
For example if I am searching for a ldap groups with some common name. If the ldap search fails does it mean that It could not find the groups with the given filter or that my filter has wrong syntax?
I'm using openldap with c++.