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!!
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.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!!
Message was edited by: robert thornley - formatting
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.