mount.cifs yields garbled directory listing where smbclient works

Bug #530949 reported by ScottPurcell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: samba

This mount command in Ubuntu does not work -- the directory listing is indecipherable:

scott@U904-209NVD1-95031:~$ sudo mount.cifs //pc1n7i01d03.us.dell.com/DTTUATNAS2/training /tmp/mnttest/ --verbose -o credentials=/etc/.cred.txt

mount.cifs kernel mount options: unc=//pc1n7i01d03.us.dell.com\DTTUATNAS2,user=scott_purcell,ver=1,credentials=/etc/.cred.txt,prefixpath=training,ip=10.30.25.221,pass=********

The same command in RHEL 5 works -- the files and directories are viewable:

[root@RH5-3G4DKB1-SLP ~]# mount.cifs //pc1n7i01d03.us.dell.com/DTTUATNAS2/training /tmp/mnttest/ --verbose -o credentials=/etc/.cred.txt

mount.cifs kernel mount options: unc=//pc1n7i01d03.us.dell.com\DTTUATNAS2,ip=10.30.25.221,user=scott_purcell,ver=1,credentials=/etc/.cred.txt,prefixpath=training,pass=********

smbclient in Ubuntu works fine -- the files and directories are browsable:

scott@U904-209NVD1-95031:~$ sudo smbclient //pc1n7i01d03.us.dell.com/DTTUATNAS2/ -W americas -U scott_purcell -D training

Please let me know what other information I can provide.

ProblemType: Bug
Architecture: amd64
Date: Tue Mar 2 14:33:25 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: smbfs 2:3.4.0-3ubuntu5.4
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: samba
Uname: Linux 2.6.31-19-generic x86_64

Revision history for this message
ScottPurcell (scott-texastwister) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

Works in smbclient, so looks like a kernel (CIFS) issue rather than a samba one.
Are those shares on the NAS DFS shares ?

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
ScottPurcell (scott-texastwister) wrote :

Not sure what you mean by NAS DFS. I believe it is on an EMC NAS box of some sort.

Confirmed that it works from a RHEL 5.4 box on an older kernel version, details in the newly attached file.

Revision history for this message
Thierry Carrez (ttx) wrote :

DFS are a special type of shares, used to aggregate directories coming from different locations into a single "share".
Marking as affecting "linux" (kernel) since smbclient is working fine. Getting the model of that EMS NAS box of some sort could probably help in debugging the issue.

affects: samba (Ubuntu) → linux (Ubuntu)
Revision history for this message
ScottPurcell (scott-texastwister) wrote :

Resolved by the use of the "noserverino" mount option.

tags: added: karmic
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.