summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-24 05:49:08 +0200
committerVolker Lendecke <vl@samba.org>2011-09-26 14:59:12 +0200
commitd2958fd064ed58af6f4744f0e91480f8b2131e21 (patch)
tree6eb0d4dc2485363ef83e64b318da806e13524e39 /source3/smbd
parentfba833d0557969fe0c1c943465c1b1f833fe1bdb (diff)
downloadsamba-d2958fd064ed58af6f4744f0e91480f8b2131e21.tar.gz
samba-d2958fd064ed58af6f4744f0e91480f8b2131e21.tar.bz2
samba-d2958fd064ed58af6f4744f0e91480f8b2131e21.zip
s3: Remove the smbd_server_conn ref from setup_dfs_referral
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/msdfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index 9602e792ac..66258a22fd 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -1277,7 +1277,7 @@ int setup_dfs_referral(connection_struct *orig_conn,
}
/* The following call can change cwd. */
- *pstatus = get_referred_path(ctx, pathnamep, smbd_server_conn,
+ *pstatus = get_referred_path(ctx, pathnamep, orig_conn->sconn,
junction, &consumedcnt, &self_referral);
if (!NT_STATUS_IS_OK(*pstatus)) {
vfs_ChDir(orig_conn,orig_conn->connectpath);