Configure LDAP with Splunk Web (original) (raw)

Splunk® Enterprise

Securing Splunk Enterprise

  1. Documentation
  2. Splunk® Enterprise
  3. Securing Splunk Enterprise
  4. Configure LDAP with Splunk Web

In both Splunk Cloud Platform and Splunk Enterprise, you can use Splunk Web to configure the Lightweight Directory Access Protocol (LDAP) authentication scheme.

There are three main steps to configure the LDAP authentication scheme with Splunk Web:

  1. Create an LDAP strategy.
  2. Map LDAP groups to Splunk roles.
  3. If you have multiple LDAP servers, specify their connection order.

If you run Splunk Enterprise and want to configure LDAP using the authentication.conf configuration file, see Configure LDAP with configuration files.

Create an LDAP strategy

When you create an LDAP strategy, you let the Splunk platform connect to an LDAP server for the purposes of authentication using the settings that you specify for the strategy.

  1. Click Settings > Users and authentication > Authentication Methods.
  2. Check LDAP.
  3. Click Configure Splunk to use LDAP. The LDAP strategies page opens.
  4. Click New. This takes you to the Add new page.
  5. Enter an LDAP strategy name for your configuration.
  6. Enter the Host name of your LDAP server.
    If you run Splunk Enterprise, confirm that the DNS subsystem on the machine can resolve the host name of your LDAP server. At this time, there is no support for IPv6 address formats on Windows.
  7. Enter the network Port that the Splunk platform is to use to connect to your LDAP server.
    • By default LDAP servers listen on TCP port 389.
    • LDAPS, or Secure LDAP, listens on TCP port 636.
  8. To turn on SSL, check SSL enabled.
    • This setting is recommended for security.
    • You must also have SSL enabled on your LDAP server.
  9. Enter the Bind DN.
    • This is the distinguished name that the Splunk platform uses to bind to the LDAP server. It is typically, but not necessarily, the administrator. This user needs to have read access to all LDAP user and group entries that you want to retrieve.
    • Leave blank if an anonymous bind is acceptable.
  10. Enter and confirm the Bind DN password for the binding user.
  11. Specify the User base DN. You can specify multiple user base DN entries by separating them with semicolons.
  1. Enter the User base filter for the object class you want to filter your users on.
  1. Enter the User name attribute that contains the user name.
  1. Enter the Real name attribute, or the common name, of the user.
  1. Enter an Email attribute
  2. Enter the Group mapping attribute.
  1. Enter the Group base DN. You can specify multiple group base DN entries by separating them with semicolons.
  1. Enter the Static group search filter for the object class you want to filter your static groups on.
  1. Enter the Group name attribute.
  1. Enter the Static member attribute.
  1. To expand nested groups, check Nested groups.
  1. Enter the Dynamic group search filter to retrieve dynamic groups, if any.
  1. Enter the Dynamic member attribute.
  1. If you check Advanced settings, there are several additional options you can set:
  1. Click Save.

Map LDAP groups to Splunk roles

After you have configured the Splunk platform to authenticate using your LDAP server, map LDAP groups in your environment to Splunk roles. If you do not use groups, you can map users individually.

See Map LDAP groups to Splunk roles in Splunk Web for the procedure.

Specify the server connection order

If you have enabled multiple LDAP strategies, you can specify the order in which the Splunk platform searches their servers to find a user, as described in How Splunk works with multiple LDAP servers.

By default, the Splunk platform searches the servers in the order in which they were enabled. To change the connection (search) order, you need to edit the properties for each strategy individually:

  1. From the main menu, select System > Users and Authentication > Access Controls.
  2. Click Authentication method.
  3. Select the LDAP radio button.
  4. Click Configure Splunk to use LDAP and map groups. This takes you to the LDAP strategies page.
  5. Click on the strategy whose connection order you want to specify. This takes you to the properties page for that strategy.
  6. Edit the Connection order field. This field appears only if you have enabled multiple strategies.
    The '''Connection order''' field does not appear when you initially create the strategy. It only appears when you later edit its properties. Also, if you have disabled the strategy, the field appears grayed out.
  7. Click Save.
  8. Repeat the process for any other enabled strategy whose connection order you want to change.

| | How the Splunk platform works with multiple LDAP servers for authentication | | Map LDAP groups to Splunk roles in Splunk Web | | | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------- |

This documentation applies to the following versions of Splunk® Enterprise: 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.13, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.6, 7.1.7, 7.1.8, 7.1.9, 7.1.10, 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 7.2.10, 7.3.0, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.3.9, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.0.7, 8.0.8, 8.0.9, 8.0.10, 8.1.0, 8.1.1, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.1.10, 8.1.11, 8.1.12, 8.1.13, 8.1.14, 8.2.0, 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 8.2.8, 8.2.9, 8.2.10, 8.2.11, 8.2.12, 9.0.0, 9.0.1, 9.0.2, 9.0.3, 9.0.4, 9.0.5, 9.0.6, 9.0.7, 9.0.8, 9.0.9, 9.0.10, 9.1.0, 9.1.1, 9.1.2, 9.1.3, 9.1.4, 9.1.5, 9.1.6, 9.1.7, 9.1.8, 9.1.9, 9.2.0, 9.2.1, 9.2.2, 9.2.3, 9.2.4, 9.2.5, 9.2.6, 9.3.0, 9.3.1, 9.3.2, 9.3.3, 9.3.4, 9.4.0, 9.4.1, 9.4.2