Bug 597756

Summary: cifs-utils-4.5-1.fc13 breaks support for credentials file
Product: [Fedora] Fedora Reporter: Thorsten Leemhuis <fedora>
Component: cifs-utilsAssignee: Jeff Layton <jlayton>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jlayton, ssorce, steved
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cifs-utils-4.5-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-14 13:12:57 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Thorsten Leemhuis 2010-05-30 07:22:38 EDT
Description of problem:
mount.cifs asks for a password, even when there is a fstab entry which points to a credentials file with username and password. Additionally: The mount even fails, even when the right password is entered at the prompt.

Version-Release number of selected component (if applicable):
cifs-utils-4.5-1.fc13.x86_64
Worked just fine after downgrading to cifs-utils-4.4-3.fc13.x86_64 again

How reproducible:
Always

Steps to Reproduce:
* create a credentials file with something like this:
echo "username=foo"$'\n'"password=bar" > /home/foo/foobar
* create a fstab entry like this:
echo "//server/share /mnt/share cifs user,noauto,exec,cred=/home/foo/foobar"
* run
mount /mnt/share 

Additional info:
I'm running a 2.6.34 kernel on both machines that are affected. Might be part of the problem, but I don't think so
Comment 1 Jeff Layton 2010-05-30 07:41:57 EDT
Thanks for the bug report. I see the bug. I'll get it fixed upstream and then bring it back to Fedora.
Comment 2 Fedora Update System 2010-06-01 16:10:39 EDT
cifs-utils-4.5-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/cifs-utils-4.5-2.fc13
Comment 3 Fedora Update System 2010-06-02 14:14:44 EDT
cifs-utils-4.5-2.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cifs-utils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/cifs-utils-4.5-2.fc13
Comment 4 Thorsten Leemhuis 2010-06-05 07:18:31 EDT
Thx, 5.4-2 works fine for me and fixes this bug

/me leaves bug open and assumes that bodhi will close it when the package hits the proper updates repo
Comment 5 Fedora Update System 2010-06-14 13:12:53 EDT
cifs-utils-4.5-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.