From 1480cf1603a2292d2636562f06ad12cb8c86fe6d Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Fri, 4 Oct 2013 17:39:28 +0200 Subject: 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 --- install/tools/ipa-server-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index 0374efea..8077bc20 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)) -- cgit