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 | cd93f0cb00207098014e41e0ba16210cb150b895 (patch) | |
tree | 371ff0cbf541cccb77698a1cb584c16064cb7501 /source/smbd/msdfs.c | |
parent | efd817ae118da51058106ae97854572547e113d3 (diff) | |
download | samba-cd93f0cb00207098014e41e0ba16210cb150b895.tar.gz samba-cd93f0cb00207098014e41e0ba16210cb150b895.tar.xz samba-cd93f0cb00207098014e41e0ba16210cb150b895.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.
Diffstat (limited to 'source/smbd/msdfs.c')
-rw-r--r-- | source/smbd/msdfs.c | 3 |
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; } |