git.samba.org
/
kamenim
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4-finddc: use NBT lookup for a 1C name if joining a short domain name
[kamenim/samba.git]
/
source4
/
scripting
/
python
/
samba
/
netcmd
/
join.py
diff --git
a/source4/scripting/python/samba/netcmd/join.py
b/source4/scripting/python/samba/netcmd/join.py
index e7e5941c630b0c348be83effdfd3958f8c31caf0..bce9162e4587c02e85c06ae651bcdebf0db4ea49 100644
(file)
--- 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":