summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-14 20:10:51 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-15 15:39:36 +1000
commit59d415f43f72146b15a721e928cf346777239bfc (patch)
treee6bd1c56d75e328256bdb0f2e67795fee52c1c08 /source4/scripting
parent99f514f233fb1b3dcdd19cd2cc9ca9130ea841c8 (diff)
downloadsamba-59d415f43f72146b15a721e928cf346777239bfc.tar.gz
samba-59d415f43f72146b15a721e928cf346777239bfc.tar.bz2
samba-59d415f43f72146b15a721e928cf346777239bfc.zip
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>
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/netcmd/join.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/netcmd/join.py b/source4/scripting/python/samba/netcmd/join.py
index e7e5941c63..bce9162e45 100644
--- a/source4/scripting/python/samba/netcmd/join.py
+++ b/source4/scripting/python/samba/netcmd/join.py
@@ -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":