2015-03-05 02:25 PM
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
2015-03-05 06:56 PM
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
You could try a "diag secd trace".
2015-03-05 08:01 PM
You may want to compare user1 and user2 with the 'security login show' command.
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.)