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>
uint32_t dirtype;
NTSTATUS status;
bool path_contains_wcard = False;
uint32_t dirtype;
NTSTATUS status;
bool path_contains_wcard = False;
- uint32_t ucf_flags = UCF_COND_ALLOW_WCARD_LCOMP |
+ uint32_t ucf_flags = UCF_ALWAYS_ALLOW_WCARD_LCOMP |
ucf_flags_from_smb_request(req);
TALLOC_CTX *ctx = talloc_tos();
ucf_flags_from_smb_request(req);
TALLOC_CTX *ctx = talloc_tos();