Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

Cannot connect to filers with a local user that isn't root?

ROB_LIVENATION

Hello,

I'm trying to start using the powershell toolkit but seem to be having authentication issues. I need to connect to several filers and cannot rely on AD authentication - I want to use a local account I've created but am having some of strange issues. Perhaps I'm approaching this all wrong, but some help would be really appreciated!! 

My script so far looks like this (mainly stolen from this helpful answer https://communities.netapp.com/message/41161#41161)

     Import-Module DataONTAP

     $Na1 = "filer1"

     $nacred = Get-Credential

     $NaController1 = Connect-NaController -Name $Na1 -Credential $nacred

Now this works fine if I supply the root user and password, but I don't want to have that information in my script files (ideally I want to authenticate with a user with significantly less access). But if try a different local filer user I get the following error:-

     Connect-NaController : Could not connect to sys-a-fls-01.sys.ams1.winsys.tmcs on port 80 for protocol HTTP.

This error seems very strange to me - does root use a different protocol? Hard to understand, but I can resolve this error but setting 'options httpd.enable' to 'on'. but then I get another error:-

     Connect-NaController : API invoke failed.

If examine the $error[0].Exception.InnerException I get the message:-

     The remote server returned an error: (503) Server Unavailable.

This seems unlikely since it works for the root user?

I've made my test local user a member of the administrators group, but still get the error. Can someone please explain where I'm gong wrong?

Many thanks in advance!!

Rob

Message was edited by: robert thornley - formatting

1 ACCEPTED SOLUTION

ROB_LIVENATION

Hi

I've managed to work this out. It seem there's a problem with the user if it's created from my version of OnCommand System Manager. Creating what appears to be an identical user from the CLI works no problem.

.

View solution in original post

1 REPLY 1

ROB_LIVENATION

Hi

I've managed to work this out. It seem there's a problem with the user if it's created from my version of OnCommand System Manager. Creating what appears to be an identical user from the CLI works no problem.

.

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public