summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-24 05:53:28 +0200
committerVolker Lendecke <vlendec@samba.org>2011-09-26 16:33:29 +0200
commitb35d80aa38dcfc28ea067d924152ebd9b72d895c (patch)
treef2d5a0f71163ad494712f403a42eeeb817fff7f8 /source3/rpc_server
parentd2958fd064ed58af6f4744f0e91480f8b2131e21 (diff)
downloadsamba-b35d80aa38dcfc28ea067d924152ebd9b72d895c.tar.gz
samba-b35d80aa38dcfc28ea067d924152ebd9b72d895c.tar.bz2
samba-b35d80aa38dcfc28ea067d924152ebd9b72d895c.zip
s3: Remove the smbd_server_conn ref from create_junction
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 26 16:33:30 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/dfs/srv_dfs_nt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/dfs/srv_dfs_nt.c b/source3/rpc_server/dfs/srv_dfs_nt.c
index 56f4de551d..efb0a1ec0a 100644
--- a/source3/rpc_server/dfs/srv_dfs_nt.c
+++ b/source3/rpc_server/dfs/srv_dfs_nt.c
@@ -362,7 +362,8 @@ WERROR _dfs_GetInfo(struct pipes_struct *p, struct dfs_GetInfo *r)
return WERR_NOMEM;
}
- if(!create_junction(ctx, r->in.dfs_entry_path, jn)) {
+ if(!create_junction(ctx, r->in.dfs_entry_path,
+ !smbd_server_conn->using_smb2, jn)) {
return WERR_DFS_NO_SUCH_SERVER;
}