1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

s4-finddc: use NBT lookup for a 1C name if joining a short domain name

once we get the 1C lookup reply, use a CLDAP query to find the details
for the server

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell
2010-09-14 20:10:51 +10:00
parent 99f514f233
commit 59d415f43f
6 changed files with 105 additions and 20 deletions

View File

@ -57,9 +57,6 @@ class cmd_join(Command):
if not role is None:
role = role.upper()
if domain.find('.') == -1:
raise CommandError("Please use the full DNS domain name, not the short form for '%s'" % domain)
if role is None:
secure_channel_type = SEC_CHAN_WKSTA
elif role == "BDC":