1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s3:rpc_server/netlogon: remove unused send_sync_message()

metze
This commit is contained in:
Stefan Metzmacher 2011-12-13 10:34:19 +01:00
parent 92280def16
commit 7dc1de73d3

View File

@ -84,16 +84,6 @@ WERROR _netr_LogonControl(struct pipes_struct *p,
return _netr_LogonControl2Ex(p, &l);
}
/****************************************************************************
Send a message to smbd to do a sam synchronisation
**************************************************************************/
static void send_sync_message(struct messaging_context *msg_ctx)
{
DEBUG(3, ("sending sam synchronisation message\n"));
message_send_all(msg_ctx, MSG_SMB_SAM_SYNC, NULL, 0, NULL);
}
/*************************************************************************
_netr_LogonControl2
*************************************************************************/
@ -389,10 +379,6 @@ WERROR _netr_LogonControl2Ex(struct pipes_struct *p,
return WERR_UNKNOWN_LEVEL;
}
if (lp_server_role() == ROLE_DOMAIN_BDC) {
send_sync_message(p->msg_ctx);
}
return WERR_OK;
}