From c7ded5ab0accc54a28df4d43cb923e6c808ff347 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 30 Jan 2005 10:24:36 +0000 Subject: r5108: the beginnings of a nbtd server for Samba4. Currently just displays the packets it receives, but it at least shows how the server structure will work. To implement it I extended the libcli/nbt/ library to allow for an incoming packet handler to be registered. That allows the nbt client library to be used for low level processing of the nbtd server packets. Other changes: - made the socket library always set SO_REUSEADDR when binding to an interface, to ensure that restarts of a server don't have to wait for a couple of minutes. - made the nbt port configurable. Defaults to 137, but other ports will be useful for testing. (This used to be commit 2fedca6adfd4df9e85cc86896dfa79630777a917) --- source4/build/smb_build/main.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/build/smb_build/main.pm') diff --git a/source4/build/smb_build/main.pm b/source4/build/smb_build/main.pm index af4220ec7b..cd776b54b9 100644 --- a/source4/build/smb_build/main.pm +++ b/source4/build/smb_build/main.pm @@ -41,6 +41,7 @@ sub smb_build_main($) "rpc_server/config.mk", "ldap_server/config.mk", "winbind/config.mk", + "nbt_server/config.mk", "libcli/auth/gensec.mk", "libcli/auth/config.mk", "libcli/ldap/config.mk", -- cgit