[linux-cifs-client] Domain based DFS namespace works?

Igor Mammedov niallain at gmail.com
Mon Feb 9 13:47:19 GMT 2009


Suresh Jayaraman wrote:
> Hi all,
> 
> It's not clear to me whether complete domain based DFS namespace support
> is available or not with linux cifs implementation. For e.g.
> 
> Suppose there are two Win2k3 servers (dfs1, dfs2) and a seperate win2k3
> PDC as AD (ad.domain). Both dfs1 and dfs2 are part of ad. dfs1 has a
> namespace 'ns 'and referral link 'ref' present in dfs2.
> 
> If I try to mount the DFS namespace using AD domain, is it expected to work?
>      mount -t cifs //ad.domain/ns /mnt -o user=Administrator
> (note that I'm trying to mount the referral directly)

I guess It should be something like this:

//ad.domain/ns is so called DFS root.
Domain based DFS root is hosted on a primary domain controller and replicated
to backup domain controller.
So 'ad.domain' should be resolved to one of domain controllers and a domain
controller should host share 'ns'.
In case when ad.domain resolved to a backup domain controller, it may respond
on tree connect with PATH_UNCOVERED error and client should ask it for referrals.

> 
> In one of our setup it doesn't seem to be working. But I'm not sure
> whether it's a configuration issue or not.
> 
> Thanks,
> 

-- 

Best regards,

-------------------------
Igor Mammedov,
niallain "at" gmail.com






More information about the linux-cifs-client mailing list