1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r23843: Fix bug #4777, reported by Bill Marshall <bmarsh@us.ibm.com>.

Doing a DFS traverse through a deep link could fail (not using
explorer).
Jeremy.
(This used to be commit cd93f0cb00)
This commit is contained in:
Jeremy Allison 2007-07-11 21:01:06 +00:00 committed by Gerald (Jerry) Carter
parent 8d786a4e2b
commit 188b84f9d0

View File

@ -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;
}