Skip to main content

ldap_login

Function ldap_login 

Source
pub(super) async fn ldap_login(
    services: &Services,
    user_id: &UserId,
    lowercased_user_id: &UserId,
    password: &str,
) -> Result<OwnedUserId>
Expand description

Authenticates the given user through the configured LDAP server.

Creates the user if the user is found in the LDAP and do not already have an account.