diff options
author | Jeremy Allison <jra@samba.org> | 2007-07-11 21:01:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:28:33 -0500 |
commit | 188b84f9d07ec33f8780ea5494d5892568cdbfe8 (patch) | |
tree | 9f0b182ed5230616936b1ddc04776899cab01d20 /source3 | |
parent | 8d786a4e2bf23feaeb041f95bb346fbfd0434853 (diff) | |
download | samba-188b84f9d07ec33f8780ea5494d5892568cdbfe8.tar.gz samba-188b84f9d07ec33f8780ea5494d5892568cdbfe8.tar.bz2 samba-188b84f9d07ec33f8780ea5494d5892568cdbfe8.zip |
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 cd93f0cb00207098014e41e0ba16210cb150b895)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/msdfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index d4c08848d7..a89f4ceffc 100644 --- a/source3/smbd/msdfs.c +++ b/source3/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; } |