diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-05-23 13:06:55 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-24 14:12:32 +0200 |
commit | a92f7176bd7f198a547952142b7d361a9b4e9146 (patch) | |
tree | 7252d83613ae3a87c9ca4461714ea7440aa97660 /source3/rpc_server | |
parent | 0733183594dbd3ce07ddaf9e1fcf8102b80fc605 (diff) | |
download | samba-a92f7176bd7f198a547952142b7d361a9b4e9146.tar.gz samba-a92f7176bd7f198a547952142b7d361a9b4e9146.tar.bz2 samba-a92f7176bd7f198a547952142b7d361a9b4e9146.zip |
s3:smbd/msdfs: let create_conn_struct() also fake the 'smbd_server_connection'
metze
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srvsvc/srv_srvsvc_nt.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c index c9f8ceb6f8..38f272c55a 100644 --- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c +++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c @@ -2133,7 +2133,10 @@ WERROR _srvsvc_NetGetFileSecurity(struct pipes_struct *p, goto error_exit; } - nt_status = create_conn_struct(talloc_tos(), smbd_server_conn, &conn, + nt_status = create_conn_struct(talloc_tos(), + server_event_context(), + server_messaging_context(), + &conn, snum, lp_pathname(snum), p->session_info, &oldcwd); if (!NT_STATUS_IS_OK(nt_status)) { @@ -2274,7 +2277,10 @@ WERROR _srvsvc_NetSetFileSecurity(struct pipes_struct *p, goto error_exit; } - nt_status = create_conn_struct(talloc_tos(), smbd_server_conn, &conn, + nt_status = create_conn_struct(talloc_tos(), + server_event_context(), + server_messaging_context(), + &conn, snum, lp_pathname(snum), p->session_info, &oldcwd); if (!NT_STATUS_IS_OK(nt_status)) { |