summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-24 05:33:11 +0200
committerVolker Lendecke <vl@samba.org>2011-09-26 14:59:12 +0200
commit425b93ef6920367494ac773592b473802e59a471 (patch)
treec55584023b024e75b96709b7fee27064a5aa2f30 /source3/rpc_server
parent649437af3db39d4c5fd9807066619ee9d7f05985 (diff)
downloadsamba-425b93ef6920367494ac773592b473802e59a471.tar.gz
samba-425b93ef6920367494ac773592b473802e59a471.tar.bz2
samba-425b93ef6920367494ac773592b473802e59a471.zip
s3: Remove the smbd_server_conn ref from create_conn_struct
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srvsvc/srv_srvsvc_nt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
index b155d2959d..d7bec0360e 100644
--- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
@@ -2129,9 +2129,9 @@ WERROR _srvsvc_NetGetFileSecurity(struct pipes_struct *p,
goto error_exit;
}
- nt_status = create_conn_struct(talloc_tos(), &conn, snum,
- lp_pathname(snum), p->session_info,
- &oldcwd);
+ nt_status = create_conn_struct(talloc_tos(), smbd_server_conn, &conn,
+ snum, lp_pathname(snum),
+ p->session_info, &oldcwd);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(10, ("create_conn_struct failed: %s\n",
nt_errstr(nt_status)));
@@ -2270,9 +2270,9 @@ WERROR _srvsvc_NetSetFileSecurity(struct pipes_struct *p,
goto error_exit;
}
- nt_status = create_conn_struct(talloc_tos(), &conn, snum,
- lp_pathname(snum), p->session_info,
- &oldcwd);
+ nt_status = create_conn_struct(talloc_tos(), smbd_server_conn, &conn,
+ snum, lp_pathname(snum),
+ p->session_info, &oldcwd);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(10, ("create_conn_struct failed: %s\n",
nt_errstr(nt_status)));