pub async fn search_entries(
ldap: &mut Ldap,
base_dn: &str,
search_base: &str,
scope: Scope,
filter: &str,
attrs: &[String],
entries: &mut HashMap<String, LDAPEntry>,
) -> Result<(), LdapOperationError>
Expand description
helper function to search an LDAP server and generate LDAPEntry values with the base DN removed to make them server-independent