I'm having a very rough time with the cifs setup.
my goal is to take the 8.0.1 simulator and configure it as part of a cifs workgroup
my script so far looks like this
$password = ConvertTo-SecureString '1$netapp' -AsPlainText -force
$cred = New-Object -typeName System.Management.Automation.PsCcredential -ArgumentList "root:,$password
$ss1filer = Connect-NaController ss1.netapp.local -Credential $cred -https -timeout 10000000
Add-NaLicense -Controller $ss1filer bslrltg dndcbqh anleazl dzdachd nqbyfjj elnrltg bqoeazl dfvxfjj xjqivfk dndcbqh zyicxlc pvoivfk zoprkam pdxmqmi mtvvgaf
Enable-NaIscsi -controller $ssfiler1
New-NaCifsGroupFile -Controller $ss1filer
New-NaCifsPasswordFile -Controller $ss1filer
it all works fine until until it gets to the New-NaCifsPasswordFile command. when entered above it prompts for a password and if i enter 1$netapp it says it changes the password but it won't let me log in using the username root with the password 1$netapp.
if i use the "-password 1$netapp" switch it says it changes the password but i can't log in using root/1$netapp
If use the "-password $password" switch it errors out. it seems that i can't use the $password variable i'm setting earlier in the script.
I'm lost and can really use some help with this.
in case you are curious about the abnormally long timeout, i had a lot of issues with thee 8.0.1 simulator. it seems to have random connectivity issues. 7.3 didn't have this. i have putty disconnect issues in the 8.0.1 version and script connectivity issues that i didn't have in 7.3. but the script issues were fixed by just making a long timeout.