summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-03-12 20:21:11 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-03-12 20:21:11 +0000
commit0d51899b59204b99d5aeb9542c8adfff42167fec (patch)
tree2874d245edd64e06074c34c753d7d695e98b7848 /source/include
parentd998795503ce7872073a79a710a41ffdbc535e75 (diff)
downloadsamba-0d51899b59204b99d5aeb9542c8adfff42167fec.tar.gz
samba-0d51899b59204b99d5aeb9542c8adfff42167fec.tar.xz
samba-0d51899b59204b99d5aeb9542c8adfff42167fec.zip
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
Diffstat (limited to 'source/include')
-rw-r--r--source/include/nameserv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/include/nameserv.h b/source/include/nameserv.h
index 75461ce5e60..027931f9e63 100644
--- a/source/include/nameserv.h
+++ b/source/include/nameserv.h
@@ -123,7 +123,8 @@ enum state_type
NAME_QUERY_DOM_SRV_CHK,
NAME_QUERY_SRV_CHK,
NAME_QUERY_FIND_MST,
- NAME_QUERY_MST_CHK
+ NAME_QUERY_MST_CHK,
+ NAME_QUERY_DOMAIN,
};
/* a netbios name structure */