I've created a script to mount the windows server network shares, but it keeps me asking for the network password. I've already tried setting the
PASSWD env var and setting the password in the command.
Here's what I have:
sudo mount.cifs //IP/Utils /media/Data/Utils -o username=sergio, password=MyPassword..., uid=sergio, file_mod=0755, dir_mode=0755, gid=sergio, workgroup=myworkgroup
I tried also with
sec=ntlm (looked at another question, don't remember where) but no avail.
Why it keeps me asking the password?