Install libapache2-mod-authn-sasl by entering the following commands in the terminal:
sudo apt update sudo apt install libapache2-mod-authn-sasl
Description:
SASL authentication backend provider for Apache
This module provides the mod_auth_basic authentication front-end a way to authenticate users by checking credentials via the Cyrus SASL library. . Username and password are checked against the SASL password checking backends, kerberos5, pam, rimap, shadow and ldap are some of the supported mechanisms. . One of the interesting parts of using a SASL backend is that you do not need to elevate Apache HTTPD's access rights to superuser privileges, even when validating through shadow database.
Homepage: http://mod-authn-sasl.sourceforge.net/
Version: 1.2-2
Section: universe/web