r5294: - added a separate NBT-WINS test for WINS operations (register, refresh, relea...
authorAndrew Tridgell <tridge@samba.org>
Thu, 10 Feb 2005 03:22:47 +0000 (03:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:37 +0000 (13:09 -0500)
commitb9bb7f596de51496c18580863efbb8ac17c78970
treee8ea83908a7a2e259e97b309595208481ef70b3d
parent57f69e6f37949636ae14c646517792fa40c9c75b
r5294: - added a separate NBT-WINS test for WINS operations (register, refresh, release and query)

- change the iface_n_*() functions to return a "const char *" instead of a "struct ipv4_addr"
  I think that in general we should move towards "const char *" for
  all IP addresses, as this makes IPv6 much easier, and is also easier
  to debug. Andrew, when you get a chance, could you fix some of the
  auth code to use strings for IPs ?

- return a NTSTATUS error on bad name queries and node status instead
  of using rcode. This makes the calling code simpler.

- added low level name release code in libcli/nbt/

- use a real IP in the register and wins nbt torture tests, as w2k3
  WINS server silently rejects some operations that don't come from the
  IP being used (eg. it says "yes" to a release, but does not in fact
  release the name)
(This used to be commit bb1ab11d8e0ea0bd9ae34aebeb565d36fe4b495f)
16 files changed:
source4/include/structs.h
source4/ldap_server/ldap_server.c
source4/lib/netif/interface.c
source4/libcli/config.mk
source4/libcli/nbt/libnbt.h
source4/libcli/nbt/namequery.c
source4/libcli/nbt/namerelease.c [new file with mode: 0644]
source4/libcli/resolve/bcast.c
source4/nbt_server/interfaces.c
source4/rpc_server/dcerpc_sock.c
source4/smb_server/smb_server.c
source4/torture/config.mk
source4/torture/nbt/register.c
source4/torture/nbt/wins.c [new file with mode: 0644]
source4/torture/torture.c
source4/utils/nmblookup.c