s3: smbd: Add dfs_filename_convert(). Simple wrapper around parse_dfs_path().
commit245d07ab84852b829c029496618e56782d070e83
authorJeremy Allison <jra@samba.org>
Mon, 8 Aug 2022 18:16:17 +0000 (8 11:16 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 12 Aug 2022 18:19:31 +0000 (12 18:19 +0000)
treee2b18b4595e097a1fc4995db6f5275ee2de1ef6d
parenta3c9eb7931cb4da0dd5bc5d600125979dd1a7df5
s3: smbd: Add dfs_filename_convert(). Simple wrapper around parse_dfs_path().

Not yet used.

This is what we will use to replace dfs_redirect() in the filename
conversion code. Keep as a wrapper for now as we might want to
add some error checking around the 'hostname' and 'service'
returns.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/msdfs.c
source3/smbd/proto.h