Bug 1906495

Summary: Add User: Autogenerated gecos includes non-english characters
Product: [Fedora] Fedora Reporter: Izaac Brånn <izaac.brann>
Component: freeipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: abokovoy, contribs, ftrivino, ipa-maint, jcholast, jhrozek, mhjacks, pcech, pvoborni, rcritten, ssorce, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-17 09:03:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Izaac Brånn 2020-12-10 16:28:31 UTC
Description of problem:

Adding a new user, through the webUI, where the first or last name contains
a non-english character fails with the error:
"gecos: value #0 invalid per syntax: Invalid syntax."

These should either be replaced by non-accented versions,
or removed if no good replacement exist.

Version-Release number of selected component (if applicable):
Fedora 33, ipa-server 4.8.10

How reproducible:


Steps to Reproduce:
1. Add a user where first or last name contains a non-english character

Actual results:
Receives error: "gecos: value #0 invalid per syntax: Invalid syntax."

Expected results:
The user to be successfully added.

Additional info:

Comment 1 Petr Čech 2020-12-17 08:58:40 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/8625

Comment 2 Petr Čech 2020-12-17 09:03:44 UTC
Thank you taking your time and submitting this request for Fedora 33. We prefer to track this effort in upstream project -- the request was cloned to the upstream tracker:
https://pagure.io/freeipa/issue/8625.