summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2013-10-04 17:39:28 +0200
committerMartin Kosek <mkosek@redhat.com>2013-10-04 17:41:20 +0200
commit1480cf1603a2292d2636562f06ad12cb8c86fe6d (patch)
treeefc8776b21be489ee0f219a993eb4e279513db0d /install/tools
parent80886a50e6157e6a0b8f3f09523ba7d2c2b8001c (diff)
downloadfreeipa-1480cf1603a2292d2636562f06ad12cb8c86fe6d.tar.gz
freeipa-1480cf1603a2292d2636562f06ad12cb8c86fe6d.tar.xz
freeipa-1480cf1603a2292d2636562f06ad12cb8c86fe6d.zip
Do not allow '%' in DM password
Having '%' in DM password causes pkispawn to crash. Do not allow users to enter it until pkispawn is fixed. https://bugzilla.redhat.com/show_bug.cgi?id=953488
Diffstat (limited to 'install/tools')
-rw-r--r--install/tools/ipa-server-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 0374efea3..8077bc207 100644
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -110,7 +110,7 @@ def validate_dm_password(password):
raise ValueError("Password must only contain ASCII characters")
# Disallow characters that pkisilent doesn't process properly:
- bad_characters = ' &\\<'
+ bad_characters = ' &\\<%'
if any(c in bad_characters for c in password):
raise ValueError('Password must not contain these characters: %s' %
', '.join('"%s"' % c for c in bad_characters))