From 558e4cf0b87f393c2b0a52192c5051c258f281e0 Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Fri, 25 Jan 2002 22:50:15 +0000 Subject: rewrote nmbd's wins backend to use a tdb instead of a flat text file. Changed the way the wins record are handled in memory. Now they are living much longer with the different states: active, released and tombstone. Also added a version ID, some wins flags and the wins owner ip address to the namrec->data struct, and a function to process messages sent by the wins replication daemon. the initiate_wins_processing() function is not correct, I'll fix it later. J.F. (This used to be commit b902e087d06c32797af19021a7f56895d86d7364) --- source3/nmbd/nmbd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/nmbd/nmbd.c') diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 57dacc7a05..a7abdc5da0 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -827,6 +827,7 @@ static void usage(char *pname) pidfile_create("nmbd"); message_init(); message_register(MSG_FORCE_ELECTION, nmbd_message_election); + message_register(MSG_WINS_NEW_ENTRY, nmbd_wins_new_entry); DEBUG( 3, ( "Opening sockets %d\n", global_nmb_port ) ); -- cgit