My Oracle Support Banner

How to Configure MySQL Authentication to use LDAP Service via PAM (Doc ID 1371858.1)

Last updated on AUGUST 01, 2019

Applies to:

MySQL Server - Version 5.5 and later
Information in this document applies to any platform.
It is expected that a working LDAP service is already available on port 389 for the purposes of this example.


Goal

To authenticate MySQL accounts using the external PAM system which will allow the use of LDAP for managing the account details rather than the MySQL system.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Set up the LDAP Service
 Install the PAM Authentication Plugin
 Configuring PAM for MySQL
 Configuring MySQL to Use PAM Authentication
 Direct Authentication (Without Proxy User)
 Proxied User
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.