pub trait LdapDirectory {
// Required methods
fn user(
&self,
uid: &str,
filter: Option<&str>,
attributes: Option<&[String]>,
) -> Result<Vec<Row>>;
fn netgroup(
&self,
name: &str,
filter: Option<&str>,
attributes: Option<&[String]>,
) -> Result<Vec<Row>>;
}Expand description
Minimal LDAP lookup port used by the service layer.