summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-11-05 12:58:09 +0100
committerJeremy Allison <jra@samba.org>2017-12-05 04:58:26 +0100
commit41cfc737dfb2c751053a61917458a4a8cdb386b0 (patch)
treeddf54f290a82bd733e62bde8d8c300063364de7d /source3/nmbd
parent6423ca4bf293cac5e2f84b1a37bb29b06b5c05ed (diff)
downloadsamba-41cfc737dfb2c751053a61917458a4a8cdb386b0.tar.gz
lib: Remove unused serverid.tdb
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Dec 5 04:58:26 CET 2017 on sn-devel-144
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 14eaef647d0..9be708a9c02 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -70,7 +70,6 @@ static void terminate(struct messaging_context *msg)
kill_async_dns_child();
gencache_stabilize();
- serverid_deregister(messaging_server_id(msg));
pidfile_unlink(lp_pid_directory(), "nmbd");
@@ -1015,15 +1014,6 @@ static bool open_sockets(bool isdaemon, int port)
exit(1);
}
- /* get broadcast messages */
-
- if (!serverid_register(messaging_server_id(msg),
- FLAG_MSG_GENERAL |
- FLAG_MSG_NMBD |
- FLAG_MSG_DBWRAP)) {
- exit_daemon("Could not register NMBD process in serverid.tdb", EACCES);
- }
-
messaging_register(msg, NULL, MSG_FORCE_ELECTION,
nmbd_message_election);
#if 0