How to configure System Manager for authentication using domain user or group
LDAPS (LDAP over SSL or TLS)
Applies to
- ONTAP 9.8+
- System Manager
- Active Directory (AD)
- LDAPS (LDAP over SSL or TLS)
Description
- Active Directory users and groups can be used to authenticate into ONTAP System Manager.
- When configuring a group, members of the group will be allowed to authenticate without having to create an entry for each group member.
Procedure
Prerequisites:
-
The cluster admin vserver must have a configured domain tunnel or LDAP client prior to adding users.
-
Review the domain tunnels and LDAP clients documentation for more information on how to configure them.
Steps:
-
To add a System Manager user for AD or LDAP authentication from within the System Manager UI
- In System Manager, navigate to Cluster > Settings, then click
in the Users and Roles tile
- Click the
button
- Select System Manager as TARGET PRODUCT, HTTP as APPLICATION, and either Active Directory Domain (for AD) or Name Server Switch (for LDAP) as AUTHENTICATION method
- In System Manager, navigate to Cluster > Settings, then click
- To add a System Manager user for AD or LDAP authentication via ONTAP command line
The following example demonstrates the
security login create
command for adding an entry that allows users to authenticate they are a member of the "test_group" LDAP group within the "ocdomain" domain, using the nsswitch (LDAP) method option.cluster1::> security login show -user-or-group-name ocdomain\*
Vserver: cluster1
Second
User/Group Authentication Acct Authentication
Name Application Method Role Name Locked Method
-------------- ----------- ------------- ---------------- ------ --------------
ocdomain\test_group http nsswitch admin - none
1 entries were displayed.Figure 1: Login to System Manager via domain\username
-
Use the
security login create
command to create a login method for the management utility
- Specify http application type (for Web service requests)
- Authentication method as "domain" for AD, or "nsswitch" for LDAP
security login create -user-or-group-name ocdomain\test_group -application http -authentication-method nsswitch -role admin -vserver admin_vserver
-
- Validate configured Domain or LDAP users/groups:
- Via CLI:
- Run the
security login show
command to view the output
- Run the
- Via System manager:
- Log into System Manager using admin account
- To view the user or group entries in the UI, navigate to Cluster > Settings, and then in the Security section, click the
in the Users and Roles tile
- Figure 2: Settings > Users
- Via CLI:
Additional Information
- Enable Active Directory account access
- AD group account access is supported only with the SSH and ontapi applications
- Does ONTAP System Manager have LDAP group support for HTTP access?
- No currently that is not available.
- Configuring SAML authentication in ONTAP system Manager
- How to configure SMB via System Manager
- How to configure SMB via cli.
- When use-start-tls-for-ad-ldap is set to true on the tunnel SVM, can ONTAP System Manager be authenticated using LDAP over TLS?