diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-07 11:58:48 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-07 13:16:48 +0200 |
commit | 19a908350eef1ae7725e3412da087be8e7cf05b0 (patch) | |
tree | 4fbd5ed94bd2dc5bad7c7ea049b1e6acc6e300d0 /source3/rpc_server/srv_srvsvc_nt.c | |
parent | 77c63149a3c91798445a56b31624036473e7f570 (diff) | |
download | samba-19a908350eef1ae7725e3412da087be8e7cf05b0.tar.gz samba-19a908350eef1ae7725e3412da087be8e7cf05b0.tar.bz2 samba-19a908350eef1ae7725e3412da087be8e7cf05b0.zip |
s3: Remove some references to smbd_messaging_context()
Diffstat (limited to 'source3/rpc_server/srv_srvsvc_nt.c')
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index 35c030a9b3..9b8e97cafb 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -1327,7 +1327,7 @@ WERROR _srvsvc_NetSessDel(struct pipes_struct *p, become_root(); } - ntstat = messaging_send(smbd_messaging_context(), + ntstat = messaging_send(p->msg_ctx, session_list[snum].pid, MSG_SHUTDOWN, &data_blob_null); @@ -1705,9 +1705,8 @@ WERROR _srvsvc_NetShareSetInfo(struct pipes_struct *p, if ( (ret = smbrun(command, NULL)) == 0 ) { /* Tell everyone we updated smb.conf. */ - message_send_all(smbd_messaging_context(), - MSG_SMB_CONF_UPDATED, NULL, 0, - NULL); + message_send_all(p->msg_ctx, MSG_SMB_CONF_UPDATED, + NULL, 0, NULL); } if ( is_disk_op ) @@ -1893,8 +1892,8 @@ WERROR _srvsvc_NetShareAdd(struct pipes_struct *p, if ( (ret = smbrun(command, NULL)) == 0 ) { /* Tell everyone we updated smb.conf. */ - message_send_all(smbd_messaging_context(), - MSG_SMB_CONF_UPDATED, NULL, 0, NULL); + message_send_all(p->msg_ctx, MSG_SMB_CONF_UPDATED, NULL, 0, + NULL); } if ( is_disk_op ) @@ -1997,8 +1996,8 @@ WERROR _srvsvc_NetShareDel(struct pipes_struct *p, if ( (ret = smbrun(command, NULL)) == 0 ) { /* Tell everyone we updated smb.conf. */ - message_send_all(smbd_messaging_context(), - MSG_SMB_CONF_UPDATED, NULL, 0, NULL); + message_send_all(p->msg_ctx, MSG_SMB_CONF_UPDATED, NULL, 0, + NULL); } if ( is_disk_op ) |