added code that checks whether the DOMAIN<1b> name is claimed on the
authorSamba Release Account <samba-bugs@samba.org>
Wed, 12 Mar 1997 20:21:11 +0000 (20:21 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Wed, 12 Mar 1997 20:21:11 +0000 (20:21 +0000)
commit5f178fc18ac07eeeb579a23c6cbf8519ce44b60b
tree0ef094d1205cfeedec09fb09edbba0ef796dd069
parent35de5ef34343d546ce7269308871d7da55991861
added code that checks whether the DOMAIN<1b> name is claimed on the
local subnet _before_ going and registering it.  the reason for this
is that i don't want to cause chaos by registering the name twice.

it's ok to register DOMAIN<1b> with the WINS server, because the WINS
server's job is to check a) _if_ there's a current owner of the name
b) if the current owner exists c) if the current owner still wants the
name.  if they don't, the WINS server responds by saying, 'yes, you can
have it'.

lkcl
(This used to be commit 0d51899b59204b99d5aeb9542c8adfff42167fec)
source3/include/nameserv.h
source3/nameresp.c
source3/nameserv.c