Provide client access with name services using ONTAP System Manager
You can configure a storage VM to use the LDAP or NIS name service. This enables ONTAP to look up information—including host, user, group, or netgroup—used to authenticate NAS clients.
Prepare to configure an SVM name service
Before configuring a name service, you need to decide whether to use LDAP or NIS. In addition, you should gather the details of your identity infrastructure, including server addresses or hostnames, the domain or search base, and any authentication or encryption requirements such as TLS certificates. Preparing and reviewing this information ahead of time helps ensure a smooth configuration and avoids disruptions to client access.
|
|
Because NIS lacks some of the security and scalability features of LDAP, NetApp recommends using LDAP whenever possible, particularly for NFSv4 and later deployments. |
You should also decide which name-service databases—such as passwd, group, or netgroup—each service will support and the order ONTAP should search them relative to local files. If you plan to serve both NFS and SMB clients from the same storage VM, confirm that your LDAP or NIS environment is configured consistently to avoid credential mapping conflicts between the protocols.
Lightweight Directory Access Protocol
Lightweight Directory Access Protocol (LDAP) is an open, vendor-neutral protocol for accessing and maintaining distributed directory information, such as user accounts, groups, and other identity data, over a network. LDAP directories are commonly used to centralize user and group management across many systems, and Microsoft Active Directory is a widely deployed implementation that also functions as an LDAP server. ONTAP can use LDAP as a name-service source to look up UNIX identity information for NFS clients—UIDs, GIDs, and group memberships—and to support user mapping and other identity lookups for SMB clients. Using LDAP for name services provides greater security and scalability than local files alone, particularly in environments using NFSv4 or later.
Prior to ONTAP 9.20.1, consistent UID/GID access across NFS and SMB required manually configuring and maintaining explicit uidNumber/gidNumber attributes for every user and group in Active Directory—a time-consuming, error-prone process that's difficult to keep synchronized across large or multi-domain environments. ONTAP 9.20.1 introduces native SSSD support with automatic SID-to-UNIX ID conversion for NAS clients, a feature that uses a deterministic and SSSD-compatible algorithm to derive POSIX UIDs/GIDs from Windows SIDs and reverse the process to recover the original SID. It can be enabled on an SVM's LDAP client when Active Directory is the identity source, which allows ONTAP to dynamically compute consistent and reversible UNIX identities without storing any POSIX attributes in Active Directory.
Network Information Service
Network Information Service (NIS) is a client-server directory protocol for sharing configuration information—such as user accounts, groups, hostnames, and netgroups—across UNIX and Linux systems on a network. NIS centralizes administration by maintaining a set of maps that clients query instead of relying on local files on every system. ONTAP can use NIS as an alternative to LDAP for NFS client authentication.
Configure an LDAP service
You can optionally configure an LDAP service for a storage VM to provide client access. This is part of the procedure to Enable NAS storage for Linux servers using NFS with ONTAP System Manager.
|
|
You should enable the Use automatic SID to UNIX ID conversion option, available with ONTAP 9.20.1 and later releases, with caution because it changes how ONTAP maps Windows SIDs to UNIX IDs. Only use the option for new LDAP configurations where POSIX attributes haven't already been assigned to users. Enabling it for an existing LDAP configuration will change file ownership and might break access control. |
You should have the LDAP configuration details required in your environment and be using a default ONTAP LDAP schema. You'll need to identify an Active Directory server as the identity source when activating the native SSSD with automatic SID-to-UNIX ID conversion feature.
-
In System Manager, select Cluster and then Storage VMs in the left navigation pane.
-
Select the SVM from the list you want to configure.
-
Under the Settings tab, scroll down to Services and next to LDAP select either:
-
to create a new configuration -
and then Edit to modify an existing configuration
-
-
Select Active Directory or LDAP servers.
-
Provide the configuration information appropriate for the server and your environment.
For a new LDAP configuration on ONTAP 9.20.1 or later, and with Active Directory as the name server, you can optionally select Use automatic SID to UNIX ID conversion to enable automatic mapping of Windows SIDs to UNIX IDs.
-
Select Save to apply the configuration.
Configure an NIS service
You can optionally configure an NIS service for a storage VM to provide client access. This is part of the procedure to Enable NAS storage for Windows servers using SMB with ONTAP System Manager.
You should have the NIS configuration details required in your environment.
-
In System Manager, select Cluster and then Storage VMs in the left navigation pane.
-
Select the SVM from the list you want to configure.
-
Under the Settings tab, scroll down to Services and next to NIS select either:
-
to create a new configuration -
and then Edit to modify an existing configuration
-
-
Provide the NIS domain and add related values appropriate for the server and your environment.
-
Select Save to apply the configuration.