git.samba.org
/
nivanova
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
635c41a
)
s4-net: role should be case insensitive for join
author
Andrew Tridgell
<tridge@samba.org>
Mon, 23 Aug 2010 01:36:29 +0000
(11:36 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 23 Aug 2010 05:55:39 +0000
(15:55 +1000)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/netcmd/join.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/netcmd/join.py
b/source4/scripting/python/samba/netcmd/join.py
index 23ae412df5d12d66d346db630f373cd4ed3352b2..34fd5dec3d978780e47d81155d9ee1f46723f57d 100644
(file)
--- a/
source4/scripting/python/samba/netcmd/join.py
+++ b/
source4/scripting/python/samba/netcmd/join.py
@@
-53,7
+53,10
@@
class cmd_join(Command):
site = "Default-First-Site-Name"
netbios_name = lp.get("netbios name")
-
+
+ if not role is None:
+ role = role.upper()
+
if role is None:
secure_channel_type = SEC_CHAN_WKSTA
elif role == "BDC":