s3: smbd: Use helper function msdfs_servicename_matches_connection() in parse_dfs_path().
authorJeremy Allison <jra@samba.org>
Tue, 9 Aug 2022 17:53:18 +0000 (10:53 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 12 Aug 2022 18:19:31 +0000 (18:19 +0000)
commitc0a1d7c7a8a7f24890e60c7a371498949dec11c2
tree172cee2dab0016e6cd85c6bd635779b19ab6d9bd
parent4f5d02f8c0efc1520b2113ce656c78483deb7826
s3: smbd: Use helper function msdfs_servicename_matches_connection() in parse_dfs_path().

Replaces ugly complex logic.

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