Re: [Freeipa-devel] [PATCH] 897 fix error message when certificate CN is invalid

2015-07-09 Thread Petr Vobornik

On 07/09/2015 11:21 AM, David Kupka wrote:

On 09/07/15 00:28, Petr Vobornik wrote:

The error message was probably copied from mail address check below.



ACK.



Pushed to master: f0e88e9b13c0c950cb02f377ac13c8e5b9188a34
--
Petr Vobornik

--
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


Re: [Freeipa-devel] [PATCH] 897 fix error message when certificate CN is invalid

2015-07-09 Thread David Kupka

On 09/07/15 00:28, Petr Vobornik wrote:

The error message was probably copied from mail address check below.



ACK.

--
David Kupka

--
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


[Freeipa-devel] [PATCH] 897 fix error message when certificate CN is invalid

2015-07-08 Thread Petr Vobornik

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 
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