diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-04-03 19:13:45 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-04-03 20:01:48 +0200 |
commit | c6b93d2f843402aacaf314c919bb8e6368817ca4 (patch) | |
tree | 438ceba19ea93abc0a9b56ff7b3e334df53ad37a | |
parent | e53dfebba0cd187f8565b79c47e7c0b2e7eba4f9 (diff) | |
download | samba-c6b93d2f843402aacaf314c919bb8e6368817ca4.tar.gz samba-c6b93d2f843402aacaf314c919bb8e6368817ca4.tar.bz2 samba-c6b93d2f843402aacaf314c919bb8e6368817ca4.zip |
Avoid uppercasing server role in error message.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Apr 3 20:01:48 CEST 2011 on sn-devel-104
-rw-r--r-- | source4/scripting/python/samba/provision/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py index 55774c225b..ff9b00122d 100644 --- a/source4/scripting/python/samba/provision/__init__.py +++ b/source4/scripting/python/samba/provision/__init__.py @@ -489,7 +489,7 @@ def guess_names(lp=None, hostname=None, domain=None, dnsdomain=None, raise ProvisioningError("guess_names: 'realm=%s' in %s must match chosen realm '%s'! Please remove the smb.conf file and let provision generate it" % (lp.get("realm").upper(), realm, lp.configfile)) if lp.get("server role").lower() != serverrole: - raise ProvisioningError("guess_names: 'server role=%s' in %s must match chosen server role '%s'! Please remove the smb.conf file and let provision generate it" % (lp.get("server role").upper(), serverrole, lp.configfile)) + raise ProvisioningError("guess_names: 'server role=%s' in %s must match chosen server role '%s'! Please remove the smb.conf file and let provision generate it" % (lp.get("server role"), serverrole, lp.configfile)) if serverrole == "domain controller": if domain is None: |