Bug 10402 - DFS paths not resolved correctly
DFS paths not resolved correctly
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
All All
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2014-01-25 17:42 UTC by frederik.vogelsang
Modified: 2014-01-25 17:42 UTC (History)
0 users

See Also:

Samba log output when trying to access a link on a DFS share (26.61 KB, text/x-log)
2014-01-25 17:42 UTC, frederik.vogelsang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description frederik.vogelsang 2014-01-25 17:42:09 UTC
Created attachment 9618 [details]
Samba log output when trying to access a link on a DFS share

When accessing links on a DFS share the target is not resolved correctly. Instead it looks like the link is resolved to itself by parse_dfs_path, which obviously fails (see the attached log for details).


  server role = active directory domain controller
  host msdfs = yes

  path = /var/lib/samba/dfsroot
  msdfs root = yes

DFS content:

root@localhost # ls -l /var/lib/samba/dfsroot
total 0
lrwxrwxrwx 1 root root 18 Jan 25 11:52 public -> msdfs:horst\Public
lrwxrwxrwx 1 root root 16 Jan 25 11:22 home -> msdfs:horst\home

The shares where the DFS links point to do exist, of course.