Red Hat Bugzilla – Full Text Bug Listing
|Summary:||mount -cifs problems cifs-utils 4.8.1-4.fc14|
|Product:||[Fedora] Fedora||Reporter:||Paul Loewenstein <paul.loewenstein>|
|Component:||cifs-utils||Assignee:||Jeff Layton <jlayton>|
|Status:||CLOSED NOTABUG||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||14||CC:||jlayton, ssorce, steved|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2011-04-17 14:37:04 EDT||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description Paul Loewenstein 2011-04-17 00:56:55 EDT
Description of problem: mount -t cifs does not work with credentials=file and does not resolve server name using wins name resolution (despite being wins specified in hosts line in nsswitch.conf and is working (e.g. ping wins-name). Version-Release number of selected component (if applicable): How reproducible: Totally (at least on my system) Maybe this is two bugs, but I'm too timid to submit two at once on my first day. Steps to Reproduce: Problem 1: 1. generate file with lines user="user" and password="password" 2. mount -t cifs -o credentials=file,nocase //ip-address/share Problem 2: 1. mount -t cifs -o user="user",password="password",nocase //servername/share Results of 2 are identical except for "No username specified" line in dmesg is not logged. Actual results: mount: wrong fs type, bad option, bad superblock on //192.168.1.67/Paul, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so last two lines of dmesg | tail: [ 1396.447984] CIFS VFS: No username specified [ 1396.447996] CIFS VFS: cifs_mount failed w/return code = -22 Expected results: Successful mount Additional info:
Comment 1 Jeff Layton 2011-04-17 09:19:50 EDT
> > Results of 2 are identical except for "No username specified" line in dmesg is > not logged. > > Actual results: > mount: wrong fs type, bad option, bad superblock on //192.168.1.67/Paul, > missing codepage or helper program, or other error > (for several filesystems (e.g. nfs, cifs) you might > need a /sbin/mount.<type> helper program) > In some cases useful info is found in syslog - try > dmesg | tail or so > Can you post the output of this command? $ stat /sbin/mount.cifs I suspect that you don't have cifs-utils installed...
Comment 2 Paul Loewenstein 2011-04-17 14:37:04 EDT
stat /sbin/mount.cifs stat: cannot stat `/sbin/mount.cifs': No such file or directory You are right; I didn't even consider that as a possibility, as I managed to mount using IP address and username/password. I failed to notice the lack of a checkmark in the box when I examined the version using "Add/Remove Software".