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 | 558e4cf0b87f393c2b0a52192c5051c258f281e0 (patch) | |
tree | d52802d7534e4458b9ce4fdd2ace3e42071121c0 /source3/nmbd/nmbd.c | |
parent | 38ac78c3df67d8f187f83abb8fd1bcaeafe4e316 (diff) | |
download | samba-558e4cf0b87f393c2b0a52192c5051c258f281e0.tar.gz samba-558e4cf0b87f393c2b0a52192c5051c258f281e0.tar.xz samba-558e4cf0b87f393c2b0a52192c5051c258f281e0.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.
(This used to be commit b902e087d06c32797af19021a7f56895d86d7364)
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r-- | source3/nmbd/nmbd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 57dacc7a05b..a7abdc5da09 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 ) ); |