How to set up Active Directory access to Netapp 8.3

domain tunnel add

cluster1::> vserver cifs create -vserver vs0 -cifs-server vs0cifs 
-domain companyname.example.com  
cluster1::> security login domain-tunnel create -vserver vs0
cluster1::> security login create -vserver cluster1 -username 
DOMAIN1\Administrator -application ssh -authmethod domain

then

security login create -vserver anystor300 -username domain\userorgroupname -application ontapi -authmethod domain -role admin
security login create -vserver anystor300 -username domain\userorgroupname -application ssh -authmethod domain -role admin
security login create -vserver anystor300 -username domain\userorgroupname -application http -authmethod domain -role admin

Get active directory role with vbscript

sComputer = “.” WScript.Echo DomainRole(sComputer)

Function DomainRole(sNode) Set oWMI = GetObject(“winmgmts:” _ & “{impersonationLevel=impersonate}!\\” & sNode & “\root\cimv2”) Set colComputer = oWMI.ExecQuery _ (“Select DomainRole from Win32_ComputerSystem”) For Each oComputer in colComputer iDR = oComputer.DomainRole Next

Select Case iDR Case 0 DomainRole = “Standalone Workstation” Case 1 DomainRole = “Member Workstation” Case 2 DomainRole = “Standalone Server” Case 3 DomainRole = “Member Server” Case 4 DomainRole = “Backup Domain Controller” Case 5 DomainRole = “Primary Domain Controller” Case Else DomainRole = “Unknown” End Select

End Function