LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-01-2009, 09:55 AM   #1
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
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
 
Old 12-02-2009, 07:39 AM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
You should mark this thread solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount.cifs credentials=/path-to-passwd-file not parsing xxx_anuj_xxx Linux - Server 1 11-10-2009 04:44 AM
Nautilus Computer doesn't show cifs mounts from fstab Abyteapart Fedora 0 08-04-2009 03:40 PM
Mounting windows share via cifs (fstab entry) - error 13 opening credentials file O(V)eGA_l2el) Linux - Networking 2 12-05-2006 12:22 PM
fstab smb mounts fail at boot litlmary Linux - Networking 2 09-27-2006 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration