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>
* destination's last component.
*/
if (rename_type == RENAME_FLAG_RENAME) {
- ucf_flags_src |= UCF_COND_ALLOW_WCARD_LCOMP;
- ucf_flags_dst |= UCF_COND_ALLOW_WCARD_LCOMP;
+ ucf_flags_src |= UCF_ALWAYS_ALLOW_WCARD_LCOMP;
+ ucf_flags_dst |= UCF_ALWAYS_ALLOW_WCARD_LCOMP;
}
/* rename_internals() calls unix_convert(), so don't call it here. */