summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/smbd/msdfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbd/msdfs.c b/source/smbd/msdfs.c
index d4c08848d7c..a89f4ceffcb 100644
--- a/source/smbd/msdfs.c
+++ b/source/smbd/msdfs.c
@@ -389,7 +389,8 @@ static NTSTATUS dfs_path_lookup(connection_struct *conn,
pstrcpy(localpath, pdp->reqpath);
status = unix_convert(conn, localpath, search_flag, NULL, &sbuf);
- if (!NT_STATUS_IS_OK(status)) {
+ if (!NT_STATUS_IS_OK(status) && !NT_STATUS_EQUAL(status,
+ NT_STATUS_OBJECT_PATH_NOT_FOUND)) {
return status;
}