I'm having some trouble mounting a network share using autofs. I have added the following line to /etc/auto.master:
I then created the file /etc/auto.servername with the following contents:
server-ip -fstype=cifs,rw,noperm,user=DOMAIN\username,pass=password ://server-ip/share
I then run
service autofs restart and
ls /mnt/mountpoint to determine whether autofs succeeds in mounting the share (it does not.) The result from
CIFS VFS: Send error in SessSetup = -13 CIFS VFS: cifs_mount failed w/ return code = -13 Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
However, if I simply run
mount -t cifs //server-ip/share /mnt/mountpoint -o user=username and enter the password on prompt, the share is mounted without any problems. I have verified the correct password is /etc/auto.servername.
Any ideas what I'm doing wrong? Thanks!