Data Infrastructure Management Software Discussions

LDAP Configuration

Hello All,

 

I'm curious, is the LDAP setup for a Clusterd 9.x environment only done per SVM?

 

I got to believe you can setup LDAP for the login into the storage array somewhere.

 

Meaning, if you want to be able to access the storage array at  "<FQDN>/sysmgr/SysMgr.html" with your AD account, how is that done?

 

I notice when I go into the GUI and find the LDAP section under "Configuration > Serices" but it appears that section is only listing what has been setup somewhere else and it not editable.

 

 

 

35 REPLIES 35

Re: LDAP Configuration

Hi,

 

You can add 'LDAP client configuration' at the Cluster level (Admin SVM) or the SVM level.

 

https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.onc-sm-help-960%2FGUID-135F6A57-6050-4573-A569-D8407792A7B8.html&lang=en


@Cluster Level: When you log-in, on the landing page, there is configuration tab next to 'Protection': It does give an option to add LDAP client.


We don't use LDAP, hence I cannot 100% comment on why it cannot be edited, but I see there is command for editing, which suggest its possible:


::> vserver services ldap client modify -client-config

 

Some useful kBs:
https://kb.netapp.com/app/answers/answer_view/a_id/1071273/loc/en_US (Check out this)
https://kb.netapp.com/app/answers/answer_view/a_id/1029712/loc/en_US
https://kb.netapp.com/app/answers/answer_view/a_id/1005361/loc/en_US
https://kb.netapp.com/app/answers/answer_view/a_id/1007165/loc/en_US

Re: LDAP Configuration

Well the first link you sent seems pretty easy but for whatever reason I can't seem to fins the small gear icon being called in within the steps for cluster level.

 

I'm running NetApp Release 9.2P3 but I wouldn't think that should make a difference.

 

Steps

  1. Add an LDAP client configuration by using one of the following methods:
    • Cluster level: click  > LDAP.
    • SVM level: click SVM > SVM Settings > LDAP Client.
  2. Click Add.
  3. Type the name of the LDAP client.
  4. Add either the Active Directory domain or the LDAP server.
  5. Click  (advanced options), select the Schema, and click Apply.
  6. Specify the Base DN and TCP Port.
  7. Click Binding, and then specify the authentication details.
  8. Click Save and Close.
  9. Verify that the LDAP client that you added is displayed.

Re: LDAP Configuration

Yes, it should be fairly straight forward. The GUI could be different for 9.2. You can even do it via CLI. I think there is lot of documentation for ontap 9 around it. If you cannot find it, could you send me the screenshot where you are looking at ?

Re: LDAP Configuration

I would think it would be the same as well. 

 

I'm easing my way into the CLI as I'm still learning NetApp storage. I would send a screenshot but I'm simply lpooking at the opening landing page for NetApp GUI.

 

Let's just say I was going to set it up using CLI - from what I gaher it's just teh following. Adding the LDAP URI (server) and then enabling LDAP for cluster.

 

That seems to be what I have found.

 

Add Servers:

cluster1::> vserver services name-service ldap client create
-vserver cluster1 -client-config corp -servers 172.16.0.100,172.16.0.101

 

Enable LDAP:

cluster1::> vserver services name-service ldap create
-vserver cluster1 -client-config corp -client-enabled true

 

I asl ohave some 8.x cluster to make the change for and that I have not found the command syntax yet.

Highlighted

Re: LDAP Configuration

No worries. Give it a try and if you need any information let us know.

 

How to set up and configure LDAP for Clustered Data ONTAP 8.x
https://kb.netapp.com/app/answers/answer_view/a_id/1033453

Re: LDAP Configuration

Do you have the steps for 9.x or is it the same as 8.x?

Re: LDAP Configuration

Please take a look a these links:

 

How to configure LDAP Authentication for Cluster (Admin) SVM (9/9.1/9.2)
https://kb.netapp.com/app/answers/answer_view/a_id/1074006


How to authenticate clustered Data ONTAP administrators against an LDAP or NIS server (8,8.2,8.3)
https://kb.netapp.com/app/answers/answer_view/a_id/1030834

 

Using LDAP (ontap 9.x)
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.pow-nfs-cg%2FGUID-29A25FED-EAD5-41A2-909B-54AB9AD2C0EE.html

Re: LDAP Configuration

Why are there so many links to just configure LDAP? They all slightly look differnt as well. I simply want to allow AD users to log into the storage arrays. Also, what is the nsswitch for and why is this needed?

 

I guess just tell me this, is we only want cluster level LDAP enabled, then we must use the "Admin" SVM correct?

Re: LDAP Configuration

I assume you already have at least one SVM joined to AD?

If yes, then it should be as simple as:
1) Create a domain tunnel with "security login domain-tunnel create"
2) Allow users or groups to login to your cluster by executing "security login create" with "-authentication-method" paremeter set to "domain". On admin SVM in your case, yes.

Hope that helps.

Forums