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