1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s3: Remove the smbd_server_conn ref from setup_dfs_referral

This commit is contained in:
Volker Lendecke 2011-09-24 05:49:08 +02:00
parent fba833d055
commit d2958fd064

View File

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