summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/msdfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index ae2009ad38..1641679a35 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -483,6 +483,7 @@ static NTSTATUS dfs_redirect( connection_struct *conn,
}
if (dp.reqpath[0] == '\0') {
+ pstrcpy(dfs_path, dp.reqpath);
DEBUG(5,("dfs_redirect: self-referral.\n"));
return NT_STATUS_OK;
}