diff options
author | Jean-François Micouleau <jfm@samba.org> | 2002-01-25 22:50:15 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2002-01-25 22:50:15 +0000 |
commit | b902e087d06c32797af19021a7f56895d86d7364 (patch) | |
tree | d056e3ba6b3e2a82da9b96ebb5abea95eb815d1c /source/nmbd/nmbd.c | |
parent | f0137ac126f782e83ed15d8e905def708cdb6c64 (diff) | |
download | samba-b902e087d06c32797af19021a7f56895d86d7364.tar.gz samba-b902e087d06c32797af19021a7f56895d86d7364.tar.xz samba-b902e087d06c32797af19021a7f56895d86d7364.zip |
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.
Diffstat (limited to 'source/nmbd/nmbd.c')
-rw-r--r-- | source/nmbd/nmbd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c index 57dacc7a05b..a7abdc5da09 100644 --- a/source/nmbd/nmbd.c +++ b/source/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 ) ); |