[Samba] transfer to Microsoft Distributed File Service

Jeremy Allison jra at samba.org
Fri Apr 16 18:54:25 MDT 2010


On Thu, Apr 15, 2010 at 06:29:09PM +0800, Xu, Qiang (FXSGSC) wrote:
>  
> 
> > -----Original Message-----
> > From: samba-bounces at lists.samba.org 
> > [mailto:samba-bounces at lists.samba.org] On Behalf Of Xu, Qiang (FXSGSC)
> > Sent: Thursday, April 15, 2010 12:49 PM
> > To: samba at lists.samba.org
> > Subject: [Samba] transfer to Microsoft Distributed File Service
> > 
> > Hi, list: 
> > 
> > Usually, "//server_name/share" is passed to smbclient to do a 
> > transfer. However, in case of filing repositores using MS 
> > DFS, can smbclient be passed 
> > "//domain_name/dfs_share/share_link"? I guess not.
> 
> Sorry for my dumb, list. But, in http://samba.org/samba/docs/man/Samba-HOWTO-Collection/msdfs.html, I only found how to configure smb.conf to host a DFS tree in Samba server. My problem is just the reverse one: how to use smbclient to access a DFS path like "//domain_name/dfs_share/share_link"? And I didn't find any hint on the official HOWTO.
> 
> By default, smbclient will try to resolve the string after the initial two slashes "//" to get the server's IP address. But when the path to be accessed is a DFS one hosted on Windows 2000/2003 Server, what should smbclient do to log in successfully?
> 
> Really at a loss. Hope someone can shed some light on this topic.

smbclient should handle this. It does DFS referral internally.

Jeremy.


More information about the samba mailing list