Is LDAP authentication performed every time NFS or CIFS access occurs
Applies to
ONTAP 9
Answer
No, LDAP authentication is not performed every time NFS or CIFS access occurs.
- LDAP Authentication for NFS and CIFS Access:
- LDAP authentication is not performed every time NFS or CIFS access is requested.
- ONTAP uses LDAP caching to improve performance.
- User and group information retrieved from LDAP is cached for a certain period.
- During this cache validity period, ONTAP does not re-query the LDAP server.
- LDAP authentication occurs when the cache expires or when accessing information not present in the cache.
- Specifying LDAP Servers:
- Multiple LDAP servers can be specified for ONTAP by configuring the LDAP client settings.
- ONTAP attempts to connect to the LDAP servers in the order they are listed.
- If the first server does not respond, ONTAP fails over to the next server in the list.
- Fine-grained control to always use a specific LDAP server is not possible; ONTAP will always try the servers in the specified order.
- Checking LDAP Server Status:
- In a production environment, ONTAP attempts to connect to servers in the order in which they are registered.
- When the
vserver services name-service ldap checkcommand is executed, ONTAP does not follow the configured order; instead, the system selects the server with the smallest IP address among those registered and performs the connection check on that server. - To check the status of other LDAP servers, need to perform individual connection tests to each server.
