[api] Removed duplicate definition of ldap_search_attr