[linux-cifs-client] Domain based DFS roots and mount.cifs

Ray Van Dolson rvandolson at esri.com
Wed Feb 27 22:46:28 GMT 2008


Hey all, I am new to DFS so bear with me. :)  We have a domain based
DFS root setup here (Windows 2003 server) that I would like to access
from a Linux machine.

Right now I'm testing from Fedora 8 which seems to be using mount.cifs
v1.10 and kernel 2.6.23.15.

smbclient doesn't work for me at all -- gives me a "Called name not
present" error, but with mount.cifs I can at least mount the top level
with the following:

  mount.cifs //domain.com/toybox /mnt -o user=username

However, although I see a listing of items in /mnt:

drwxrwxrwx 1 root root 0 2007-08-22 08:54 CRM_Suggestions
drwxrwxrwx 1 root root 0 2007-08-22 08:54 departments
drwxrwxrwx 1 root root 0 2008-02-08 15:06 Development
drwxrwxrwx 1 root root 0 2007-08-22 08:54 overquotausers
drwxrwxrwx 1 root root 0 2007-08-22 08:54 public
drwxrwxrwx 1 root root 0 2007-08-22 08:54 software
drwxrwxrwx 1 root root 0 2007-08-22 08:54 tech-prod-management
drwxrwxrwx 1 root root 0 2007-08-22 08:54 users

If I, for example, change into the "departments" subdirectory and do a
directory listing, I see the exact same directory listing I saw at the
top level -- like a loop.

My guess is this is a case of the client not following the link to the
correct server.

So, should this work?  Anything I'm doing wrong?  Should I use a newer
version of mount.cifs?  Anyone have any other suggestions on getting
this to work?

Thanks,
Ray


More information about the linux-cifs-client mailing list