summaryrefslogtreecommitdiff
path: root/source4/utils/nmblookup.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5114: the nbtd task can now act as a basic B-node server. It registers itsAndrew Tridgell1-5/+8
names on the network and answers name queries. Lots of details are still missing, but at least this now means you don't need a Samba3 nmbd to use Samba4. missing pieces include: - name registrations should be "shout 3 times, then demand" - no WINS server yet - no master browser code (This used to be commit d7d31fdc6670f026f96b50e51a4de19f0b920e5b)
2007-10-10r5054: added a nmblookup tool, based on the new nbt libraryAndrew Tridgell1-240/+226
(This used to be commit 9587cbcb9ea5303b345c31a662e9cd75d7cd705d)
2007-10-10r5004: add current samba3 nmblookup.c ready for updating to new nbt libAndrew Tridgell1-0/+299
(This used to be commit 854f7f376d7e15524a76bdb43a56be2a1a1d8123)
2007-10-10r5003: delete old nmblookup.c codeAndrew Tridgell1-338/+0
(This used to be commit b781a542447f9b9468ab20dd26c222a4ebfcda85)
2007-10-10r3443: the next stage in the include files re-organisation.Andrew Tridgell1-5/+5
I have created the include/system/ directory, which will contain the wrappers for the system includes for logical subsystems. So far I have created include/system/kerberos.h and include/system/network.h, which contain all the system includes for kerberos code and networking code. These are the included in subsystems that need kerberos or networking respectively. Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C file, instead each C module includes the include/system/XXX.h file for the logical system support it needs, and the details are kept isolated in include/system/ This patch also creates a "struct ipv4_addr" which replaces "struct in_addr" in our code. That avoids every C file needing to import all the system networking headers. (This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
2007-10-10r3278: - rewrote the client side rpc connection code to use lib/socket/Andrew Tridgell1-3/+3
rather than doing everything itself. This greatly simplifies the code, although I really don't like the socket_recv() interface (it always allocates memory for you, which means an extra memcpy in this code) - fixed several bugs in the socket_ipv4.c code, in particular client side code used a non-blocking connect but didn't handle EINPROGRESS, so it had no chance of working. Also fixed the error codes, using map_nt_error_from_unix() - cleaned up and expanded map_nt_error_from_unix() - changed interpret_addr2() to not take a mem_ctx. It makes absolutely no sense to allocate a fixed size 4 byte structure like this. Dozens of places in the code were also using interpret_addr2() incorrectly (precisely because the allocation made no sense) (This used to be commit 7f2c771b0e0e98c5c9e5cf662592d64d34ff1205)
2007-10-10r960: convert 'unsigned int' to uint_t in the most placesStefan Metzmacher1-2/+2
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher1-1/+1
metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2003-08-15more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell1-1/+1
(This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+338
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)