svn commit: samba r5108 - in branches/SAMBA_4_0/source: .
build/smb_build include lib/socket libcli/nbt nbt_server param smbd
tridge at samba.org
tridge at samba.org
Sun Jan 30 10:24:36 GMT 2005
Author: tridge
Date: 2005-01-30 10:24:36 +0000 (Sun, 30 Jan 2005)
New Revision: 5108
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5108
Log:
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.
Added:
branches/SAMBA_4_0/source/nbt_server/
branches/SAMBA_4_0/source/nbt_server/config.mk
branches/SAMBA_4_0/source/nbt_server/interfaces.c
branches/SAMBA_4_0/source/nbt_server/nbt_server.c
branches/SAMBA_4_0/source/nbt_server/nbt_server.h
Modified:
branches/SAMBA_4_0/source/build/smb_build/main.pm
branches/SAMBA_4_0/source/include/structs.h
branches/SAMBA_4_0/source/lib/socket/socket_ipv4.c
branches/SAMBA_4_0/source/lib/socket/socket_ipv6.c
branches/SAMBA_4_0/source/libcli/nbt/libnbt.h
branches/SAMBA_4_0/source/libcli/nbt/namequery.c
branches/SAMBA_4_0/source/libcli/nbt/nbtsocket.c
branches/SAMBA_4_0/source/param/loadparm.c
branches/SAMBA_4_0/source/smbd/config.mk
branches/SAMBA_4_0/source/smbd/service_stream.c
Changeset:
Sorry, the patch is too large (475 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5108
More information about the samba-cvs
mailing list