Mount MS DFS share on linux - Fedora Support Forums and Community
Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2007
    0 Post(s)
    0 Thread(s)

    Mount MS DFS share on linux


    I'm currently running Fedora 13 64 bit in at my office at work.

    [dyland@CAL-1-DESMARA ~]$ uname -a
    Linux CAL-1-DESMARA #1 SMP Tue Jul 6 22:32:17 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
    I'm trying to see if I can migrate from Windows XP to a Linux client at work without the need to VM windows.

    One of the road blocks I've hit is the companies Microsoft DFS file shares. I've been able to mount the root and can browse the top level folders but nothing with in them.

    mount.cifs -o username=<user>,password=<pass>,nobrl //domain/share /home/dyland/N
    I've googled a number of sites on this but they all have posts from 2008 and nothing at that time seemed to be working. Can anyone point me in the right direction for a recent how-to for Fedora.


    ---------- Post added at 10:51 AM CDT ---------- Previous post was at 10:17 AM CDT ----------
    Well, I've been going through a number of posts at RedHats bugzilla and after playing around with a number of fixes posted found one that worked for me:

    install the package “keyutils”:

    yum install keyutils
    add these lines to the end of /etc/request-key.conf:

    create cifs.spnego * * /usr/sbin/cifs.upcall -c %k
    create dns_resolver * * /usr/sbin/cifs.upcall %k
    After that you can mount remote DFS shares as a normal samba share.

    Here is some background . . .

    In Red Hat Enterprise Linux 4 the support for CIFS was the job of the “smbfs” file system which lived in userland.

    When “smbfs” was dropped and the “cifs” driver was added Kerberos and DFS were not supported. This is because the “cifs” driver is in the kernel where no DNS or Kerberos libraries exist! So, to get DFS and Kerberos working now the cifs driver calls userspace via the program /usr/sbin/cifs.upcall. This userspace helper program then performs Kerberos and DFS related functionality for the kernel.

    Hope this helps others.

    Last edited by meatsack; 29th July 2010 at 05:52 PM. Reason: Demark original post with added solution

Similar Threads

  1. mount windows share from linux
    By nasemabdulla in forum Servers & Networking
    Replies: 7
    Last Post: 28th November 2004, 04:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts