]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: smbd: Implement the 'allow_wcards' parameter inside parse_dfs_path().
authorJeremy Allison <jra@samba.org>
Wed, 30 Sep 2020 00:11:47 +0000 (17:11 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 30 Sep 2020 20:46:42 +0000 (20:46 +0000)
commit25ef25528e698976ada97e71ecb021cac201aaf1
treed50135dbab6b0e984ac7e8ca18abcf041cb8d1ba
parentb7bb348bfe7a2cfda52a9c4ef8b64bb9f057b0a0
s3: smbd: Implement the 'allow_wcards' parameter inside parse_dfs_path().

Previously this didn't actually restrict wildcards here, as check_path_syntax_wcard()
returns the fact there was a wildcard in the last component, but doesn't
return an error. Just use check_path_syntax() instead and check
for wildcards separately.

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