diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-12-13 10:34:19 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-12-13 12:36:36 +0100 |
commit | 7dc1de73d33b8e5c5ba9fea8ab2f4796030418e1 (patch) | |
tree | cc937c098fd68f431463e5cf15f9c277f8b1f97b /source3/rpc_server/netlogon | |
parent | 92280def16dc5e307b197a3d528a13cdd6041a29 (diff) | |
download | samba-7dc1de73d33b8e5c5ba9fea8ab2f4796030418e1.tar.gz samba-7dc1de73d33b8e5c5ba9fea8ab2f4796030418e1.tar.bz2 samba-7dc1de73d33b8e5c5ba9fea8ab2f4796030418e1.zip |
s3:rpc_server/netlogon: remove unused send_sync_message()
metze
Diffstat (limited to 'source3/rpc_server/netlogon')
-rw-r--r-- | source3/rpc_server/netlogon/srv_netlog_nt.c | 14 |
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; } |