Skip to main content

query_ldap_schema

Function query_ldap_schema 

Source
pub async fn query_ldap_schema(
    ldap: &mut Ldap,
) -> Result<Option<LDAPSchema>, LdapSchemaError>
Expand description

Retrieve the LDAP schema from an LDAP server using ldap3

tested with OpenLDAP

ยงErrors

fails if the underlying ldap query or the parsing of the results of that query fail