summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/netlogon/srv_netlog_nt.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/rpc_server/netlogon/srv_netlog_nt.c b/source3/rpc_server/netlogon/srv_netlog_nt.c
index 26b92c8618..05651aae41 100644
--- a/source3/rpc_server/netlogon/srv_netlog_nt.c
+++ b/source3/rpc_server/netlogon/srv_netlog_nt.c
@@ -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;
}