mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3:lib: make sure we don't try to send messages to server_id's marked as disconnected
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 24 15:54:48 CEST 2012 on sn-devel-104
This commit is contained in:
parent
1f7eac907a
commit
ced27e1c5d
@ -351,6 +351,10 @@ NTSTATUS messaging_send(struct messaging_context *msg_ctx,
|
||||
struct server_id server, uint32_t msg_type,
|
||||
const DATA_BLOB *data)
|
||||
{
|
||||
if (server_id_is_disconnected(&server)) {
|
||||
return NT_STATUS_INVALID_PARAMETER_MIX;
|
||||
}
|
||||
|
||||
#ifdef CLUSTER_SUPPORT
|
||||
if (!procid_is_local(&server)) {
|
||||
return msg_ctx->remote->send_fn(msg_ctx, server,
|
||||
|
Loading…
x
Reference in New Issue
Block a user