Cifs will not mount a DFS share by using DFS "hostname"
Dear community,
We have RHEL 5.7 server that needs to mount a MS Windows DFS share via hostname of the DFS pool. This fails.
I can mount the share via an indiviual ip-address.
If I run host command on the hostname I get about 60 responses and a warning:
;; Truncated, retrying in TCP mode.
Has anyone been able to use CIFS mount on a DFS share on RHEL 5.7, if so what rpms did you install and what specific configuration did you use?
Kind regards,
Jan Gerrit Kootstra
P.S. in parallel Red Hat support is working on this issue too, but have not found a solution.
Responses
The CIFS modules in RHEL 5 are fairly old. For DFS compatibility, you'd need to patch the new CIFS modules into your kernel and update the relevant CIFS utils.
According to the CERN site, you'd probably need kernel 2.6.38+ and CIFS-utils 4.8.1+. RHEL 6.4 probably has the capability (and RHEL 5.10 might), but RHEL 5.7 likely does not.
We actually use the Samba3x packages for RHEL 5 servers. We use DFS here with a few issues, but mostly it works as expected
This message can mean a number of things. Most often it is due to 1) SELinux 2) bad permissions somewhere in the share path among other problems.
Unfortunately from what I understand, this is a generic error that could be dns related but most likely is not.
The other possibility is running a samba version less than 3.2 trying to connect to a Windows 2008 (and 2008R2) server. But because you stated you are already using samba3x that is most likely not the problem, but I would double check this
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
