KeycyteHelp CenterKeycyte PAM

Keycyte PAM 3.2 · Administrator Guide

Configuring Authentication Sources

Besides local users, Keycyte PAM can authenticate users against directory services and identity providers. The Authentication page configures these sources:

  • LDAP Configuration: one or more LDAP or Active Directory domains.
  • RADIUS Configuration: an external RADIUS server that Keycyte PAM queries as a client.
  • Entra ID Configuration: sign-in with Microsoft Entra ID.

When a user signs in with a password, Keycyte PAM tries the sources in this order: local users, RADIUS, LDAP/Active Directory.

To open the page, select Settings > Authentication.

LDAP Configuration

Each LDAP configuration describes one domain. Keycyte PAM uses it to authenticate domain users, to look up their e-mail address and phone number for MFA, to search users and groups when you authorize them in roles, and as the source of Active Directory discovery.

Adding an LDAP Configuration

To add a domain:

  1. On the LDAP Configuration card, click Add. The Ldap Credential dialog opens.

  2. Specify the following settings:

    FieldDescription
    Ldap AddressHost name or IP address of the domain controller, for example dc01.example.com.
    Ldap Port389 for LDAP (default), usually 636 for LDAPS.
    UsernameBind account that Keycyte PAM uses to search the directory.
    PasswordPassword of the bind account. When you edit a saved configuration, leave the field empty to keep the current password.
    DNS SuffixDNS name of the domain, for example example.com. Users can sign in as user@example.com.
    BaseBase DN for user searches, for example DC=example,DC=com.
    Group BaseBase DN for group searches.
    Login FieldAttribute that holds the sign-in name. Default: sAMAccountName.
    Mail FieldAttribute that holds the e-mail address. Default: mail.
    Phone FieldAttribute that holds the phone number. Default: telephoneNumber.
    SSLConnects over LDAPS.
    MasterMarks this domain as the default. Users who sign in without a domain suffix are authenticated against the master domain.
  3. Click Save.

To check the connection, click the test button in the row of the configuration.

Note

If there is only one LDAP configuration, it is used for users without a domain suffix even when Master is not selected. With several configurations and no master, those users must sign in as user@domain.

Adding a CA Certificate for LDAPS

When SSL is selected, Keycyte PAM must trust the certificate of the domain controller. You can import the certificate automatically from the server or upload it.

To add a certificate:

  1. In the row of the configuration, click the certificate (lock) button. The Certificates dialog opens.
  2. Do one of the following:
    • On the Auto Discovery tab, click Discover Certificates. Keycyte PAM connects to the server and lists the certificates in its chain, with subject, issuer and expiry; the certificate to trust is marked Recommended. Click Trust in its row. To check a certificate first, click View PEM.
    • On the Manual Upload tab, enter an Alias, click Import and select the certificate file (.pem, .crt or .cer), then click Upload.
  3. Click Close.

RADIUS Configuration

With a RADIUS configuration, Keycyte PAM forwards sign-in requests to an external RADIUS server, for example an existing MFA server.

FieldDescription
EnabledTurns RADIUS authentication on.
ServerAddress of the RADIUS server.
Auth PortAuthentication port. Default: 1812.
Auth ProtocolPAP (default), CHAP, MSCHAP or MSCHAPv2.
Shared SecretSecret shared with the RADIUS server. Leave it empty to keep the current secret.
TimeoutSeconds to wait for an answer. Default: 5.

Click Save to apply the settings.

To test the connection:

  1. Click Test. The RADIUS Test dialog opens.
  2. Enter a Username and Password and click Test.
  3. If the RADIUS server asks for a second factor, enter the MFA Code and click Verify.

The result appears in the dialog.

Note

This card configures Keycyte PAM as a RADIUS client. To let network devices authenticate against Keycyte PAM, see Configuring the RADIUS Server.

Entra ID Configuration

With Entra ID, users sign in to Keycyte PAM with their Microsoft account.

Before you begin, register an application in Microsoft Entra ID and add the redirect URI https://<your-keycyte-host>/sso/entra/callback, for example https://pam.example.com/sso/entra/callback. Create a client secret for the application.

FieldDescription
EnabledTurns Entra ID sign-in on.
Tenant IDDirectory (tenant) ID of your Entra ID tenant.
Client IDApplication (client) ID of the registered application.
Client SecretClient secret of the application. Leave it empty to keep the current secret.
ScopeRequested permissions. Default: openid profile email User.Read.
Ignore SSLSkips certificate validation for the connection to Microsoft.

Click Test to check the configuration, then Save. To remove the configuration, click the delete button on the card.

When a user signs in with Entra ID for the first time, Keycyte PAM creates an Entra ID user automatically, but only if the user, or one of the user’s groups, is authorized in a server role or a password role. Otherwise the sign-in is refused and recorded in the Access log.

Warning

Select Ignore SSL only for troubleshooting. Without certificate validation, the connection to the identity provider can be intercepted.

Page updated: November 1, 2026 Send feedback
Search