summaryrefslogtreecommitdiff
path: root/system/mariadb-plugin-saslauthd/README
blob: d50c4c9a4b0becd6e184505d2e77fa92aebcef83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
This MariaDB plugin authenticates database users against the system
password file /etc/shadow or other authentication mechanisms supported
by saslauthd.

Enable the saslauthd daemon with:

  chmod +x /etc/rc.d/rc.saslauthd
  /etc/rc.d/rc.saslauthd start

Restart MariaDB after package installation to enable the plugin.

To create a database user which uses saslauthd, use

  CREATE USER username@hostname IDENTIFIED WITH saslauthd;

Optionally, a different system user as well as a realm can be specified.
Example:

  CREATE USER 'jekyll' IDENTIFIED WITH saslauthd AS 'hyde@EXAMPLE.COM';

saslauthd needs clear text passwords. Secure non-local connections
between your database clients and the server with TLS. See the MariaDB
documentation for more information.