[Samba] DFS redirection to sub-folders beyond share
Jeremy Allison
jra at samba.org
Tue Feb 7 04:07:02 GMT 2006
On Wed, Feb 01, 2006 at 08:22:37PM -0500, William Law wrote:
>
> I already posted this to smb-clients, but I believe that is a very low
> volume list.
>
> We have a very complicated dfs root. Now I'm not positive that this is
> how we should have done things, but it works very well with Windows
> clients, so it hasn't been thought about here. This does not work with
> smbclient or smbmount. I'm using freshly built smbclient from Samba
> 3.0.21a.
>
> Anyway, here is the issue. We have a very large namespace via one root
> that is currently active directory based.
>
> We have many dfs links that work like this. Let's say our domain is
> called DOMAIN, and the root is called dfs.
>
> \\DOMAIN\dfs <file:///\\DOMAIN\dfs> is then mapped to an empty folder.
> >From there, we have many dfs links, such as:
>
> Users\testuser which is mapped in DFS to
> \\fileserver1\share\Users\testuser
> <file:///\\fileserver1\share\Users\testuser> , which works easily in
> windows to seamless take the user who access \\domain\dfs\users\testuser
> <file:///\\domain\dfs\users\testuser> to the folder
> \\fileserver1\share\users\testuser
> <file:///\\fileserver1\share\users\testuser> .
>
> This does NOT work under smbclient. I think that we just need to be
> able to map users to something beyond the actual share. It looks like
> it could be fixed by modifying the code to handle the slashes correctly
> (see the error below). Here is the log from smbclient with the -d 3
> debugging option:
What would help to get this fixed is a simple example of this
expressed as a set of Samba server-side DFS symlinks, so I can try and
reproduce this.
Can you provide that for me please ?
Thanks,
Jeremy.
More information about the samba
mailing list