Mount DFS fileshare in Linux

Posted on 2008-10-17
Last Modified: 2013-12-06
I was wondering if anyone knew of a way to mount a Windows DFS fileshare in Linux. Currently the way I have to do it is to mount the actual server which contains the files I need. This is really ugly and cumbersome. Ideally I would like to be able to issue something along the lines of "mount -t cifs -o username=<my_username>,domain=<my_domain> //<server_name>/<dfs_share> /mnt". Currently doing this shows the directory structure but every time I try to drill into a directory it just takes me back to the main directory (in a form of a loopback).

I have heard that the linux community is working on this but I was wondering if there is a way around this currently...
Question by:enggarmin
  • 4
  • 2
LVL 19

Assisted Solution

Redimido earned 100 total points
ID: 22760004
maybe in this page you can find more

Author Comment

ID: 22764049
I looked at that page and unfortunately the information on dfs shares is from 2007. I really am needing more current info than that. Thanks for the try though!

Expert Comment

ID: 22800428
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.


Author Comment

ID: 22801201
What they are doing there for the public_html directory is exactly what we currently have to do for all of our fileshares. Unfortunately for us, we are a large organization that has many of these such shares that one user needs access to so we end up having to mount 5-7 shares for each main dfs share and then symbolically link to it so that the user thinks he is going to the right directory.

Author Comment

ID: 22801208
This is really not a good long term solution to our problem and I was wondering if there was any way of just directly mounting the main trunk of the dfs share and then letting the network services figure out the routing to the sub shares from then on so that we don't have to.

Accepted Solution

ltxda earned 400 total points
ID: 22801502
Wish I had something else.  That's pretty much the going solution for the situation that I know of.

Author Comment

ID: 22801717
Ok. Thanks. I wondered if that was the case.

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now