These are already errored out with NT_STATUS_OBJECT_NAME_INVALID
in the unix_convert() code.
Remove the check.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
struct smb_filename **_smb_fname)
{
struct smb_filename *smb_fname = NULL;
- bool has_wild;
NTSTATUS status;
*_smb_fname = NULL;
return status;
}
- has_wild = ms_has_wild(name_in);
- if (has_wild) {
- DBG_DEBUG("[%s] contains wildcard, skipping pathref fsp\n",
- name_in);
- *_smb_fname = smb_fname;
- return NT_STATUS_OK;
- }
-
if (!VALID_STAT(smb_fname->st)) {
DBG_DEBUG("[%s] does not exist, skipping pathref fsp\n",
smb_fname_str_dbg(smb_fname));