Skip to main content

Enable Active Directory ONTAP account access

Contributors netapp-aherbin netapp-aoife netapp-aaron-holt netapp-barbe netapp-bhouser netapp-mwallis netapp-ahibbard

You can use the security login create command to enable Active Directory (AD) user or group accounts to access an admin or data SVM. Any user in the AD group can access the SVM with the role that is assigned to the group.

About this task
Note AD group account access is supported only with the SSH, ontapi, and rest applications. AD groups are not supported with SSH public key authentication which is commonly used for multifactor authentication.
Before you begin
  • The cluster time must be synchronized to within five minutes of the time on the AD domain controller.

  • You must be a cluster administrator to perform this task.

Step
  1. Enable AD user or group administrator accounts to access an SVM:

    For AD users:

    ONTAP Version Primary authentication Secondary authentication Command

    9.13.1 and later

    Public key

    None

    security login create -vserver <svm_name> -user-or-group-name <user_name> -application ssh -authentication-method publickey -role <role>

    9.13.1 and later

    Domain

    Public key

    For a new user

    security login create -vserver <svm_name> -user-or-group-name <user_name> -application ssh -authentication-method domain -second-authentication-method publickey -role <role>

    For an existing user

    security login modify -vserver <svm_name> -user-or-group-name <user_name> -application ssh -authentication-method domain -second-authentication-method publickey -role <role>

    9.0 and later

    Domain

    None

    security login create -vserver <svm_name> -user-or-group-name <user_name> -application <application> -authentication-method domain -role <role> -comment <comment> [-is-ldap-fastbind true]

    For AD groups:

    ONTAP version Primary authentication Secondary authentication Command

    9.0 and later

    Domain

    None

    security login create -vserver <svm_name> -user-or-group-name <user_name> -application <application> -authentication-method domain -role <role> -comment <comment> [-is-ldap-fastbind true]
After you finish

If you have not configured AD domain controller access to the cluster or SVM, you must do so before the account can access the SVM.

Related information