[Samba] Problem in working with domain DFS links

Jeremy Allison jra at samba.org
Mon Mar 31 19:28:54 GMT 2008


On Mon, Mar 24, 2008 at 06:09:05PM +0200, Ofir Azoulay wrote:
> Hi,
> 
>  
> 
> First, I will try to make my terminology clear:
> 
> There are two "things" MS calls DFS:
> 
> 1.       Server/share DFS - in this case you can define a "virtual
> server/share" that when a client tries to connect to, the server will
> direct it to another, real, server/share to which the client should
> connect. The virtual server/share may contain one or more real
> server/share pairs and the decision in the client to which to connect is
> based on location, load balancing, etc.
> 
> 2.       Directory DFS - in this case you can define that a certain
> directory inside your share will be actually a link to another
> server/share and not a real directory. This is something similar to the
> Linux directory in which dirs may be actually mount points.
> 
>  
> 
> The issue is that when a client works with the server/share DFS it will
> actually use the virtual server name inside its SMBs request. Samba
> handles most of them correctly, but in the handling of
> Trans2/GET_DFS_REFERRAL it does not. In this action it actually makes
> sure that the server name in the request is the name of the computer
> running the Samba server - which causes DFS referral to fail. See frames
> 1172 and 1195 in the attached TCP-dump.

No TCP-dump attached. Can you send it to me directly please ?

Thanks,

Jeremy.


More information about the samba mailing list