1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s4-net: role should be case insensitive for join

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell 2010-08-23 11:36:29 +10:00
parent 635c41ab82
commit b4a048d763

View File

@ -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":