Seems CentOS7 keeps me in the forums today.
I am attempting to automount my windows share using this
howto. I am following method four.
I got my systems so I can easily mount the shares via the command line using ether the ip or the hostname of the windows system. The command I am using is:
Code:
mount -t cifs //host.name/share -o username=username,password=password /network/pc
Problem is, that is my gamming pc and I do not leave that on. So when it goes down for a night my server is going to pitch a fit. So, I want to automount so it is only mounted when the server requests data from it.
I followed the instructions in the howto exactly (well, I changed names and such where needed). Here is my auto.network file that my auto.master points to:
Code:
host.name -fstype=cifs,rw,noperm,user=user,pass=pass ://host.name/share
Now, this all looks correct going by what is shown in the howto. However, when I try to browse to my share nothing is there. I check /var/log/messages and the error I get is the one in the title:
Code:
automount[2084]: key "Users" not found in map source(s).
(Users was the directory I attempted to cd to)
I googled the error message but came up with a wide array of issues. I don't know where to begin. Any suggestions?