[Samba] DFS links not working

Christoph Kaegi kgc at zhwin.ch
Wed Apr 20 13:56:40 GMT 2005


Hello list

I try to setup a DFS root like documented in the Samba HOWTO 
Collection Chapter 18. (using Samba 3.0.14a btw.)

I setup everything as specified there, but when I try to
access one of the linked shares from a windows machine,
I get a message telling me the location is unavailable.

Looking at the logs reveals:

---------------------------- 8< ----------------------------
[2005/04/20 15:50:21, 3] smbd/vfs.c:reduce_name(948)
  reduce_name: logs reduced to /data/dfsroot/logs
[2005/04/20 15:50:21, 3] smbd/trans2.c:call_trans2qfilepathinfo(2443)
  call_trans2qfilepathinfo: SMB_VFS_STAT of logs failed (No such file or directory)
---------------------------- 8< ----------------------------

But the path is definitely there:
---------------------------- 8< ----------------------------
host# ls -la /data/dfsroot
drwxr-xr-x   2 root     other        512 Apr 20 10:37 .
drwxr-xr-x  11 root     root         512 Apr 18 08:30 ..
lrwxrwxrwx   1 root     other         20 Apr 20 10:37 logs -> msdfs:kangaroo\logs$
lrwxrwxrwx   1 root     other         17 Apr 20 10:30 w2ktest -> msdfs:mustang\w2k
---------------------------- 8< ----------------------------

smb.conf contains:
---------------------------- 8< ----------------------------
host msdfs = yes
[dfs]
    path = /data/dfsroot
    msdfs root = yes
---------------------------- 8< ----------------------------

What did I do wrong?

Thanks
Chris

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc at zhwin.ch
----------------------------------------------------------------------


More information about the samba mailing list