Software Development Kit (SDK) and API Discussions
Software Development Kit (SDK) and API Discussions
Authentication is failing for my ‘domain\user1_us’ but it works for one teammate’s “domain\user2_us” account. Also 'admin' user is working fine. We were wondering because both of us have same permissions on NAS as well as on Active Directory.Accounts created using,
# security login create -vserver vservername -username domain\user1_us -application ssh -authmethod domain -role admin
# security login create -vserver vservername -username domain\user1_us -application ontapi -authmethod domain -role admin
Following 2 lines will be responsible.
$pwd = Get-Credential -credential "domain\user1_us”
Connect-NcController “clustername” -vserver “vservername” -Credential $pwd -ErrorAction silentlycontinue | Out-Null
Really appreciate the help.
Solved! See The Solution
Hi,
No issues with your powershell code, have you check the secd.log file (/mroot/etc/log/mlog/secd.log) for authentication errors from the domain user in question? See this KB
https://kb.netapp.com/support/index?page=content&id=1012894&locale=en_US
You could try a "diag secd trace".
/matt
Hi,
No issues with your powershell code, have you check the secd.log file (/mroot/etc/log/mlog/secd.log) for authentication errors from the domain user in question? See this KB
https://kb.netapp.com/support/index?page=content&id=1012894&locale=en_US
You could try a "diag secd trace".
/matt
Hpadmana -
You may want to compare user1 and user2 with the 'security login show' command.
( https://library.netapp.com/ecmdocs/ECMP1511539/html/security/login/show.html )
I hope this response has been helpful to you.
At your service,
Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, IT Learning Solutions http://sg.itls.asia/netapp
(P.S. I appreciate 'kudos' on any helpful posts.)