The error message was probably copied from mail address check below. -- Petr Vobornik
From a935e707185d751604c24511ae8b65dd61500469 Mon Sep 17 00:00:00 2001 From: Petr Vobornik <pvobo...@redhat.com> Date: Wed, 8 Jul 2015 22:11:52 +0200 Subject: [PATCH] fix error message when certificate CN is invalid
The error message was probably copied from mail address check below. --- ipalib/plugins/cert.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py index 743fb4d3930f051c4a2098128b09b241a844cb43..341bdd01766d50ba18ce7147d4408851e6f95487 100644 --- a/ipalib/plugins/cert.py +++ b/ipalib/plugins/cert.py @@ -412,9 +412,7 @@ class cert_request(VirtualCommand): if cn != principal_name: raise errors.ValidationError( name='csr', - error=_( - "DN commonName does not match " - "any of user's email addresses") + error=_("DN commonName does not match user's login") ) # check email address -- 2.4.3
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code