Auto Mount Windows Server folders - Fstab - Cifs - Creds to Linux Box
It's 2012 and I can take 6.25 minutes to breath, so lets try again.
I am trying to mount (connect to) folders on my company server, at boot and have the user name & password handled by the credentials file so that I can open & save files as easily as if it was a local file. I have if you have read the post last year, tried just about everything, except moving the server into my office and using it as a box.
what I have done is....
Opened Terminal in Super User mode kwrite /etc/fstab Added ther line below /etc/fstab. Saved & closed fstab opened a new file in kwrite wrote username=WorldTextingFederations (You get the idea) the next line is password=yeahsureyoubetcha Then saved the file in /etc as .creds Next I closed kwrite and exited Terminal
Below are the lines EXACTLY (not really everyone seems to freak if you do put in the real IP, user, folder)
//192.168.18.119/Newtgingrich //smb://192.168.18.119/Newtgingrich/republicans/1d10ts cifs credentials=/root/etc/.creds,_netdev 0 0
Then I ran Mount in Terminal super User mode to see what the reaction to this is
solutions:~ # mount -a
Couldn't chdir to //smb://192.168.18.119/Newtgingrich/republicans/1d10ts: No such file or directory
Oddly enough when I plug the line below in Konqueror or the one below Dolphin......they show up with no errors.
So, what did I miss.....besides the bus or the meal?
SPCBS Just ATFQ ..... just answer the Fine question.