NetOPS/Administration

LDAP Authentication

Configure LDAP authentication against Active Directory for NetOPS.

Prerequisites

An existing service account on the Active Directory (AD) that has permission to do the following:

  • Membership in Domain Users
  • Read access to users and groups
  • Permission to read attributes such as sAMAccountName, memberOf, CN, first name, last name, and email

Enable LDAP Authentication

Authentication page showing the LDAP settings tab, Enable LDAP authentication and Enable JIT provisioning checkboxes, and the Servers section
  1. Go to Users > Authentication > LDAP settings.
  2. Check Enable LDAP authentication.
  3. Check Enable JIT provisioning to have user accounts created automatically on first login.
  4. Under the Servers section, click Add. This brings up the LDAP Server widget shown below.

Configure the LDAP Server

The following fields are required to configure the LDAP connection.

LDAP Server configuration widget with connection fields
  • Name – a label for the LDAP connection, i.e., Netwatch LDAP.
  • Host – the AD server. For example dc01.company.local.
  • Port – use port 389.
  • Base DN – the search base for user lookups, taken from the DC parts of the distinguished name. For example DC=company,DC=local.
  • Search attributesAMAccountName.
  • Bind DN – the distinguished name of the service account (see below).
  • Bind password – password for the service account.

Getting the DN of the Service Account

From Windows AD, find the OU where the service account resides, then right-click the service account > Properties > Attribute Editor and scroll to distinguishedName.

Active Directory Users and Computers - Attribute Editor showing the distinguishedName attribute

Double-click distinguishedName to open the String Attribute Editor and copy the full value.

User Group Mapping

Map your AD groups to Netwatch user groups and roles. Under User group mapping, click Add, enter the LDAP group pattern, then select the user groups and user role that members of that AD group should receive.

See Dashboard-only users for how to create user groups and roles.

New user group mapping dialog with LDAP group pattern, user groups, and user role fields

Test the Connection

Click Test at the bottom of the widget, then enter the credentials of one of the users in the AD.

Test authentication dialog showing a successful login with the resolved user role and user groups

Once the test is successful, click Update to save the configuration.

On this page