s3: smbd: Add utility function smb2_strip_dfs_path().
authorJeremy Allison <jra@samba.org>
Mon, 27 Mar 2023 17:06:03 +0000 (10:06 -0700)
committerRalph Boehme <slow@samba.org>
Fri, 31 Mar 2023 05:12:32 +0000 (05:12 +0000)
commit39ad689eeacd6a3dcaf24a9bd64d59295f00ddba
tree00cb52cadab801333555e7e431bbd5ade0bea476
parent1b510ca2d98e8597ef1b186a5dac7482ca70c4cf
s3: smbd: Add utility function smb2_strip_dfs_path().

Removes any DFS prefix from an SMB2 name. This will
enable me to clean up the mess around SMB2 DFS path
processing, remove some knownfails and eventually
make it much easier to add SMB3+POSIX path processing
now it can ignore DFS prefixes. Original idea from
Volker.

Not yet used.

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