> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/reference/plugins/authentication-plugins/authentication-with-pluggable-authentication-modules-pam.md).

# Authentication with Pluggable Authentication Modules (PAM)

{% columns %}
{% column %}
{% content-ref url="/pages/2LmMRNBi0t4VSZ6TbcTv" %}
[Authentication Plugin - PAM](/docs/server/reference/plugins/authentication-plugins/authentication-with-pluggable-authentication-modules-pam/authentication-plugin-pam.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
The PAM authentication plugin delegates password validation to the operating system's PAM framework, enabling integration with LDAP, Kerberos, and other services.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/PFtBzI0uOIAyrg9vqnSj" %}
[Configuring PAM Authentication and User Mapping with LDAP Authentication](/docs/server/reference/plugins/authentication-plugins/authentication-with-pluggable-authentication-modules-pam/configuring-pam-authentication-and-user-mapping-with-ldap-authentication.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Learn to configure the PAM plugin to authenticate users via LDAP and map LDAP groups to MariaDB accounts using the pam\_user\_map module.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/pZAm8KrqW1P7zAKbEMgs" %}
[Configuring PAM Authentication and User Mapping with Unix Authentication](/docs/server/reference/plugins/authentication-plugins/authentication-with-pluggable-authentication-modules-pam/configuring-pam-authentication-and-user-mapping-with-unix-authentication.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
This guide shows how to authenticate database users using local Unix accounts and map Unix groups to MariaDB users with the PAM plugin.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/c1A4gWRTsNnnO4veQxso" %}
[User and Group Mapping with PAM](/docs/server/reference/plugins/authentication-plugins/authentication-with-pluggable-authentication-modules-pam/user-and-group-mapping-with-pam.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
The pam\_user\_map PAM module allows administrators to map external PAM users and groups to specific MariaDB accounts for flexible authorization management.
{% endcolumn %}
{% endcolumns %}
