filename_in,
ucf_flags,
!conn->sconn->using_smb2,
- &fname,
- NULL);
+ &fname);
if (!NT_STATUS_IS_OK(status)) {
DBG_DEBUG("resolve_dfspath "
"failed for name %s with %s\n",
*_smb_fname = NULL;
if (ucf_flags & UCF_DFS_PATHNAME) {
- bool path_contains_wcard = false;
char *fname = NULL;
status = resolve_dfspath_wcard(ctx, conn,
name_in,
ucf_flags,
!conn->sconn->using_smb2,
- &fname,
- &path_contains_wcard);
+ &fname);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(10,("filename_convert_internal: resolve_dfspath "
"failed for name %s with %s\n",
}
/******************************************************************************
- Core function to resolve a dfs pathname possibly containing a wildcard. If
- ppath_contains_wcard != NULL, it will be set to true if a wildcard is
- detected during dfs resolution.
+ Core function to resolve a dfs pathname.
******************************************************************************/
NTSTATUS resolve_dfspath_wcard(TALLOC_CTX *ctx,
const char *name_in,
uint32_t ucf_flags,
bool allow_broken_path,
- char **pp_name_out,
- bool *ppath_contains_wcard)
+ char **pp_name_out)
{
- bool path_contains_wcard = false;
+ bool ignore = false;
NTSTATUS status = NT_STATUS_OK;
status = dfs_redirect(ctx,
ucf_flags,
allow_broken_path,
pp_name_out,
- &path_contains_wcard);
-
- if (NT_STATUS_IS_OK(status) &&
- ppath_contains_wcard != NULL &&
- path_contains_wcard) {
- *ppath_contains_wcard = path_contains_wcard;
- }
+ &ignore);
return status;
}