[Samba] msdfs and %u

Jeremy Allison jra at samba.org
Tue Aug 2 11:16:20 MDT 2011


On Tue, Aug 02, 2011 at 01:40:31PM +0200, dfhd fsdfsdf wrote:
> I tryed to use msdfs, but it doesn't work.
> Is it my fault, or is it a bug?
> 
> log.snmd:
> 
> smbd/msdfs.c:295(create_conn_struct)
> create_conn_struct: Can't ChDir to new conn path /mypath/host/%u. Error was No such file or directory
> 
> 
> Part of smb.conf:
> 
> [global]
> ...
> host msdfs = yes
> ...
> [eb]
> path = /mypath/data/eb
> force group =smb
> valid users = @gruppeeb
> write list = @gruppeeb
> browseable = no
> 
> [dfs]
> path = /mypath/host/%u
> msdfs root = yes
> 
> 
> ls -l :
> lrwxrwxrwx 1 root root 17 Aug 11:11 eb -> msdfs:PDC\eb

Looks like a bug, but just to be sure - what version
of Samba are you testing this with ?

Jeremy


More information about the samba mailing list