[Samba] Unable to follow dfs referral - still a problem for smbclient & also freebsd smbfs

Jeremy Allison jra at samba.org
Wed Mar 7 19:47:08 GMT 2007


On Sat, Mar 03, 2007 at 05:49:38AM -0000, julian at precisium.com wrote:
> Hi,
> 
> Does anyone know if there has been any more progress on the problem of
> browsing 'complex dfs roots'
> see http://lists.samba.org/archive/smb-clients/2006-February/000622.html
> 
> Basically it occurs whenever you have a Microsoft Distributed File System
> Tree where the links are to subfolders of the destination share.
> Microsoft clients have no trouble browsing such trees.
> 
> The Samba HOWTO only gives an example of the basic case where the link
> happens to be directly to the 'share folder' of the destination
> i.e
> --------------------------------
> root# cd /export/dfsroot
> root# ln -s msdfs:storageA\\shareA linka
> 
> in smb.conf...
> [global]
> netbios name = GANDALF
> host msdfs = yes
> 
> [dfs]
> path = /export/dfsroot
> msdfs root = yes
> -------------------------------
> 
> But if you try instead:
> 
> root# ln -s msdfs:storageA\\shareA\mydata linka
> 
> Then if you mount \\GANDALF\dfs  using smbfs - you can't get into the linka
> folder.
> 
> Using smbclient - when you try to cd to that folder you'd get a delay and
> then:
> Connection to storageA\shareA failed
> Unable to follow dfs referral [//storageA\shareA/mydata]
> cd \linka\: NT_STATUS_PATH_NOT_COVERED

Can you svn update from SAMBA_3_0_25 and test please. I think I've just
fixed this by a merge from SAMBA_3_0. Jerry will have to check this once
he gets back online as I believe this is his code.

Jeremy.


More information about the samba mailing list