s3: smbd: Add dfs_filename_convert(). Simple wrapper around parse_dfs_path().
commitd1ba2845a2aa5ed2a88d1a9cb6d121eba0656764
authorJeremy Allison <jra@samba.org>
Mon, 8 Aug 2022 18:16:17 +0000 (8 11:16 -0700)
committerStefan Metzmacher <metze@samba.org>
Tue, 16 Aug 2022 18:27:13 +0000 (16 18:27 +0000)
treecea46387b2566b456706f3f7a2a6b0e6f9869ad2
parentc0f9b5f41e478ea2d1019adb6cb085c8ed2b490a
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>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15146
(cherry picked from commit 245d07ab84852b829c029496618e56782d070e83)
source3/smbd/msdfs.c
source3/smbd/proto.h