summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-30 15:58:17 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-30 15:58:17 +0000
commit998db177ba25d0fb1fc12b1528025bf975b7c6ad (patch)
tree204e34c03134b2fec4cba2815a26050537cf714c /source3/nmbd/nmbd.c
parentb29514427364105ba6286ad688d61444eafb22ea (diff)
downloadsamba-998db177ba25d0fb1fc12b1528025bf975b7c6ad.tar.gz
samba-998db177ba25d0fb1fc12b1528025bf975b7c6ad.tar.bz2
samba-998db177ba25d0fb1fc12b1528025bf975b7c6ad.zip
finished the asynchronous browse synchronisation code. It even seems
to work (not a lot of testing yet though). Now we just need to deal with people worried about having more than two nmbd processes sometimes. (the async processes are created on demand for browse sync, so you'll only see more than 2 occasionally) (This used to be commit a350a54680e4170e2adf571b010ea508e7291780)
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r--source3/nmbd/nmbd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 3bb2584eaf..9210ce4dcf 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -396,6 +396,16 @@ static void process(void)
* (nmbd_packets.c)
*/
retransmit_or_expire_response_records(t);
+
+ /*
+ * check to see if any remote browse sync child processes have completed
+ */
+ sync_check_completion();
+
+ /*
+ * regularly sync with any other DMBs we know about
+ */
+ sync_all_dmbs(t);
}
} /* process */