Link to home
Start Free TrialLog in
Avatar of stuvstuv
stuvstuvFlag for Cyprus

asked on

How do I get Linux clients to access a Windows DFS share

I have just set up a Windows 2008 DFS namespace, which I can access between the local domain and trusted domain.

I am trying to get linux clients to access the DFS domain based namespace, but it is not working, despite being able to connected to \\server\share.  

Is there any special procedure for this?
Avatar of NJComputerNetworks
NJComputerNetworks
Flag of United States of America image

Avatar of stuvstuv

ASKER

Hi

As I said, I connect to the servername resource. The problem is with DFS domain based name space.

Stavros
What command are you using ?

something similar to this ?

mount -t cifs //172.29.1.11/dfsroot /mnt/dfs -o user=userid,pass=password,dom=DOM

On windows 2003 this seem to have help someone

"I installed File Services for Macintosh from Add/Remove Windows Components on the DFS servers and everything seems to be working fine now."

Bye
Hi there

I saw that about File Services for Macintosh and got excited.  This has been deprecated, and is not available in Windows 2008.

This is the error I get from mount


mount: wrong fs type, bad option, bad superblock on //francoudi.com/users,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

stuv@malevich:/dfs$ dmesg | tail
[ 9183.163645] Neighbour table overflow.
[ 9183.163975] Neighbour table overflow.
[ 9183.164320] Neighbour table overflow.
[ 9183.164673] Neighbour table overflow.
[ 9183.164981] Neighbour table overflow.
[ 9183.165306] Neighbour table overflow.
[ 9183.165566] Neighbour table overflow.
[ 9183.165878] Neighbour table overflow.
[460169.873834]  CIFS VFS: cifs_mount failed w/return code = -22
[460190.092296]  CIFS VFS: cifs_mount failed w/return code = -22



Stavros
dou you have smbfs installed ?

apt-get instaill smbfs

Let me know

Guillaume
hi Guillaume

I have installed it now.

But still it does not work.

stuv@malevich:~$ sudo smbmount //domain.com/users /dfs/stuv -o username=stuv
[sudo] password for stuv:
Password:
mount error 66 = Object is remote
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
stuv@malevich:~$


I am starting to think the DFS support in Ubuntu and Red Hat is still very buggy.
it looks I will have to get all linux users to adopt to the corporate standard and have a windows virutal machine on every desktop.

I wish Microsoft would just not tease with cool prodcuts that only work on their systems.
Microsoft has just won is point ....

Sales more licenses ;-(

If you try it different maybe you could avoid this .....

You want a dfs share because they are global ?

Could you make a normal share over a dfsshare from 2 servers and connect your linux box to those 2 servers ?

I know it's not perfect but you could see the data on the linux boxes.

Bye  
ASKER CERTIFIED SOLUTION
Avatar of stuvstuv
stuvstuv
Flag of Cyprus image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Youre right that DFS seem to have very good features.


I have not try this yet but samba server seem to support DFS and can act has a proxy.   I never try it but maybe you could have 2 samba server in a LVS setup that would be proxy for youre Windows DFS share ....

http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#MSDFSPROXY

Or installed samba on each linux client and add a samba share locally of the DFS ....  I would like to test that but we have no windows server that I can test with.
 
Keep us update of your finding if time permit !

Bye
Hi!

Maybe you could use Unison to replicate the folders: Ref http://www.cis.upenn.edu/~bcpierce/unison/

Regards, Tobias
has anybody tried this?

http://en.wikipedia.org/wiki/Distributed_File_System_(Microsoft)
Versions 2.6.14 and later[7] of the Linux kernel come with an SMB client VFS called "cifs" that supports DFS.