s3: DFS: Change dfs_path_lookup() to return struct referral list and count directly.
commit92722a1b63a6209516d8d6fd606fde4b8d51e25f
authorJeremy Allison <jra@samba.org>
Wed, 12 Feb 2020 21:17:51 +0000 (12 13:17 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 19 Feb 2020 06:19:37 +0000 (19 06:19 +0000)
tree8e36bc986417774bc0fd13d2ea8948b5705f7129
parent007c96ab6e2e9800baa216b29b7fcad8a715a5ef
s3: DFS: Change dfs_path_lookup() to return struct referral list and count directly.

Remove external parse of returned link targetpath, expose
the parsing previously added to dfs_path_lookup().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14282

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 1668c9ee15b421093756ac9d709f55ce3e808791)
source3/smbd/msdfs.c