diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-23 11:36:29 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-08-23 15:55:39 +1000 |
commit | b4a048d763e6bf2202392343946568b311c1708b (patch) | |
tree | 3b19f94ccc8273d1d57812a4f33a37e165eab2bd /source4/scripting/python | |
parent | 635c41ab822d12cf3bb8172fdfab28c6c8ac3597 (diff) | |
download | samba-b4a048d763e6bf2202392343946568b311c1708b.tar.gz samba-b4a048d763e6bf2202392343946568b311c1708b.tar.bz2 samba-b4a048d763e6bf2202392343946568b311c1708b.zip |
s4-net: role should be case insensitive for join
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r-- | source4/scripting/python/samba/netcmd/join.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/join.py b/source4/scripting/python/samba/netcmd/join.py index 23ae412df5..34fd5dec3d 100644 --- 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": |