autofs, fstab and manual cifs mounts fail if using credentials file
I lost my ability to connect to a cifs share from a CentOS
workstation when using a credentials file. I was able to connect if I typed in the credentials. After doing some searching, I found the problem has been acknowledged by Red Hat and it is being worked on. For now, here is a workaround that adds ctrl-@ at the end of each line. Code:
printf "username=user\0\ndomain=dom\0\npassword=xxx\0\n" > /etc/authfile |
You should mark this thread solved.
|
All times are GMT -5. The time now is 07:00 PM. |