https://bugzilla.novell.com/show_bug.cgi?id=764402
https://bugzilla.novell.com/show_bug.cgi?id=764402#c7
Suresh Jayaraman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
InfoProvider| |dbischof@hrz.uni-kassel.de
--- Comment #7 from Suresh Jayaraman 2012-06-04 06:57:47 UTC ---
Daniel: Thanks for the debugging info.
The main difference I see is the way the Server responds to GETDFSREFERRAL
call. While in the working case it responds with -EIO but in the broken case
Server (Older) seem to be returning Success and setting number of referral to 1
which seem to be confusing the client to chase the referral when there is no
referral.
working case
--------
[34843.472689]
/home/abuild/rpmbuild/BUILD/kernel-desktop-3.4.0/linux-3.4/fs/cifs/cifssmb.c:
In GetDFSRefer the path \workserver\share
...
[34843.473062] Status code returned 0xc0000225 NT_STATUS_NOT_FOUND
[34843.473068]
/home/abuild/rpmbuild/BUILD/kernel-desktop-3.4.0/linux-3.4/fs/cifs/netmisc.c:
Mapping smb error code 0xc0000225 to POSIX err -5
[34843.473073]
/home/abuild/rpmbuild/BUILD/kernel-desktop-3.4.0/linux-3.4/fs/cifs/cifssmb.c:
Send error in GetDFSRefer = -5
broken case
-------
[ 196.213874]
/home/abuild/rpmbuild/BUILD/kernel-desktop-3.4.0/linux-3.4/fs/cifs/cifssmb.c:
In GetDFSRefer the path \garcon\media
...
[ 196.215004]
/home/abuild/rpmbuild/BUILD/kernel-desktop-3.4.0/linux-3.4/fs/cifs/cifssmb.c:
Decoding GetDFSRefer response BCC: 127 Offset 56
[ 196.215007]
/home/abuild/rpmbuild/BUILD/kernel-desktop-3.4.0/linux-3.4/fs/cifs/cifssmb.c:
num_referrals: 1 dfs flags: 0x3 ...
To debug further, please attach the cifs network packet capture. Info on how to
capture cifs packets can be found here (second bullet point)
http://en.opensuse.org/openSUSE:Bugreport_Samba#Debugging_cifs_vfs_client
I haven't yet figured out why the problem is seen with 3.4.0. From your report
I understand the problem was not seen with 3.3.6. We have just 2 cifs commits
since 3.3.6 and both doesn't seem to be related.
Can you confirm whether mounting works fine if you go back to 3.3.6?
Also a few things to try to narrow down the issue:
1) Manually try mounting cifs with for e.g. mount -t cifs //server/share
/mnt/point
2) I'm not sure why you use the mount options - nodfs, iocharset. Try leaving
these options and see whether it works. Also instead of providing credentials
file as a mount option, try providing "user=username, pass=password".
What is the version of cifs-utils you are running (rpm -qa | grep cifs-utils)
To answer your question on DFS feature on linux - Linux too supports DFS but
I'm no sure which version of Samba your NAS is running. If it is too old, then
it might not support. In case if you haven't configured DFS, then it is most
likely that you are not using DFS.
Rainer: Can you also attach the network packet capture as mentioned above? Also
please try to go back to 3.3.6 and confirm whether you see the issue or not.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.