s3: smbd: SMB1 reply_ntrename() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.
authorJeremy Allison <jra@samba.org>
Tue, 29 Sep 2020 03:07:36 +0000 (20:07 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 30 Sep 2020 20:46:39 +0000 (20:46 +0000)
commit5082423f182c32f71cda2ec1e0f1edb5526b5b86
tree75811d34ca0ae78a4ffaca0d57215558d1e6f478
parent10e034ec21fc2fe1a3a23a769f17623b330c83e4
s3: smbd: SMB1 reply_ntrename() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.

There's either a wildcard in the last component or not. Always use
UCF_ALWAYS_ALLOW_WCARD_LCOMP for calls that can take a wildcard.

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