Files
MaxScale/Documentation/Authenticators/GSSAPI-Authenticator.md
Markus Makela db4b6793c4 MXS-862: Add authenticator documentation
The authentication process in MaxScale is now described in
Authentication-Modules.md. The GSSAPI authenticator also has its own
document.
2016-10-13 15:58:21 +03:00

1.8 KiB

GSSAPI Client Authenticator

GSSAPI is an authentication protocol that is commonly implemented with Kerberos on Unix or Active Directory on Windows. This document describes the GSSAPI authentication in MaxScale.

The GSSAPIAuth module implements the client side authentication and the GSSAPIBackendAuth module implements the backend authentication.

Authenticator options

The client side GSSAPIAuth authenticator supports one option, the service principal name that MaxScale sends to the client. The backend authenticator module has no options.

principal_name

The service principal name to send to the client. This parameter is a string parameter which is used by the client to request the token.

The default value for this option is mariadb/localhost.localdomain.

The parameter must be a valid GSSAPI principal name e.g. styx/pluto@EXAMPLE.COM. The principal name can also be defined without the realm part in which case the default realm will be used.

Implementation details

Read the Authentication Modules document for more details on how authentication modules work in MaxScale.

GSSAPI authentication

The GSSAPI plugin authentication starts when the database server sends the service principal name in the AuthSwitchRequest packet. The principal name will usually be in the form service@REALM.COM.

The client will then request a token for this service from the GSSAPI server and send the token to the database server. The database server will verify the authenticity of the token by contacting the GSSAPI server and if the token is authentic, the server sends the final OK packet.

Limitations

Client side GSSAPI authentication is only supported when the backend connections use GSSAPI authentication.

See the Limitations document for more details.