LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   autofs, fstab and manual cifs mounts fail if using credentials file (https://www.linuxquestions.org/questions/red-hat-31/autofs-fstab-and-manual-cifs-mounts-fail-if-using-credentials-file-772683/)

carltm 12-01-2009 08:55 AM

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

DrLove73 12-02-2009 06:39 AM

You should mark this thread solved.


All times are GMT -5. The time now is 07:00 PM.