pki-bot / pki-issues-final

0 stars 0 forks source link

user-add --email with i18n characters throws LDAP error #854

Open pki-bot opened 3 years ago

pki-bot commented 3 years ago

This issue was migrated from Pagure Issue #860. Originally filed by aakkiang (@aakkiang) on 2014-02-13 23:10:22:


# pki -d /opt/rhqa_pki/certs_db                    -n CA_adminV                    -c redhat123                     user-add --fullName=test --email='negyvenkettő' u31
PKIException: LDAP error (21): error result
pki-bot commented 3 years ago

Comment from nkinder (@nkinder) at 2014-02-24 19:34:29

This is due to LDAP syntax checking. The attribute used for storing e-mail addresses does not support non-ASCII characters. Internationalized e-mail addresses are still not widely supported, so this is really a corner case.

I think all we should do here at this point is to catch the exception and print a nicer error message.

pki-bot commented 3 years ago

Comment from aakkiang (@aakkiang) at 2014-09-30 16:40:37

Adding a userid with i18n shows PKIException: LDAP error (19) : error result

# pki -d /opt/rhqa_pki/certs_db                    -n ROOTCA_adminV                    -c Secret123    -h qeblade3.rhq.lab.eng.bos.redhat.com                    -p 30044                     ca-user-add --fullName=test 'ÉricTêko'
PKIException: LDAP error (19): error result

Expected Result :: User friendly error message

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2015-06-18 06:30:58

Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1232047 (Red Hat Certificate System)

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2016-12-01 20:48:38

Per Offline Triage of 11/30/2016-12/01/2016: FUTURE - minor

pki-bot commented 3 years ago

Comment from aakkiang (@aakkiang) at 2017-02-27 14:08:25

Metadata Update from @aakkiang:

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2017-08-30 23:14:02

Metadata Update from @mharmsen:

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2017-10-25 18:32:39

[20171025] - Offline Triage ==> 10.6

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2017-10-25 18:32:39

Metadata Update from @mharmsen:

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2018-04-16 19:55:18

Metadata Update from @mharmsen:

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2018-04-18 19:16:49

Per 10.5.x/10.6 Triage: FUTURE

RHBZ: CLOSED UPSTREAM

pki-bot commented 3 years ago

Comment from mharmsen (@mharmsen) at 2018-04-18 19:16:50

Metadata Update from @mharmsen: