pub async fn query_root_dse( ldap: &mut Ldap, ) -> Result<Option<RootDSE>, LdapOperationError>
retrieve the RootDSE from an LDAP server using ldap3
Returns LdapOperationError if the LDAP search fails, or if a required attribute is missing from the RootDSE entry, or if an OID cannot be parsed.
LdapOperationError