Active Directory and LDAP Authentication

Graylog supports Active Directory and LDAP synchronization for user management from your organizational identity source. For Graylog Enterprise users, this integration includes the ability to synchronize your identity source groups to Graylog teams.

Prerequisites

Before proceeding, ensure that the following prerequisites are met:

  • You must be a Graylog administrator to enable Active Directory or LDAP authentication.

  • You must have Active Directory or LDAP credentials. Obtain these credentials from your identity provider.

Set Up Synchonization

Active Directory and LDAP are related but different systems from Microsoft. Therefore, many of the setup steps in Graylog are the same, including the user credentials you need to enter. The setup procedure for both services follows these basic steps:

  1. Server configuration

  2. User synchronization

  3. Group synchronization (Enterprise only)

Each section is described in detail below.

Server Configuration

In this section, you choose whether to set up Active Directory or LDAP. However, the steps are the same with either option.

  1. Navigate to System > Authentication.

  2. Select Create service, then select Active Directory or LDAP from the drop-down menu.

  3. On the Server Configuration page, fill in the following fields:

    Title

    Enter a name for the identity provider.

    Description (optional)

    Add a meaningful description.

    Server Address

    Enter the server address to connect to identity provider, including the port. You can enter this value as an IP address or a fully qualified domain name (FQDN). Graylog must be able to resolve the address and reach the server from all Graylog servers.

    Security options

    Select security options for communication between Graylog and the identity provider.

    Choose an encryption method:

    • None: No encryption is used.

    • TLS: Communication is secured by TLS.

    • StartTLS: Uses a secure connection if available but allows for an insecure connection.

    Verify Certificates: Select this check box to ensure certificates are validated upon connection.

    System User DN

    Enter the username for initial connection. Follow the on-screen text for how to format the information.

    System Password

    Enter the password for the initial connection.

    Hint: You need to provide valid user credentials and connection information from you identity provider. Check Microsoft documentation for details.

  4. Click Test Server Connection to verify that Graylog can connect to the provider with the given credentials. You must establish a valid connection to synchronize users and other information. Resolve any connection problems before proceeding.

  5. Click Next: User Synchronization.

User Synchronization

The user synchronization section is where you identify which identity source users you want to import into Graylog. You also configure details such as how the information maps to Graylog.

Note that in this section, the required information is different between Active Directory and LDAP. Choose the set of steps that is correct for the service you are setting up.

Group Synchronization

This is a Graylog Enterprise feature. A valid Graylog Enterprise license is required.

Group synchronization allows you to use existing groups from your identity provider to create teams in Graylog.

Note that in this section, the required information is different between Active Directory and LDAP. Choose the correct steps for the service you are setting up.

Further Reading

Explore the following additional resources and recommended readings to expand your knowledge on related topics: