s3: smbd: Add helper function check_path_syntax_smb2().
commit7bd7fa0a0b46ad6826097a1987595e2ab6f83384
authorJeremy Allison <jra@samba.org>
Tue, 9 Aug 2022 17:36:00 +0000 (9 10:36 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 12 Aug 2022 18:19:30 +0000 (12 18:19 +0000)
treed05597b8118e9ab53f215fb1681ea0f34a115b64
parentbcba5502282eb6dcc346d7c63aa3218cda2f9bb0
s3: smbd: Add helper function check_path_syntax_smb2().

Not yet used, but uses check_path_syntax_smb2_msdfs()
so remove the #ifdef's around that.

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/proto.h
source3/smbd/smb2_reply.c