Bug 1036967

Summary: IPA will not create users where the domain is top level.
Product: Red Hat Enterprise Linux 6 Reporter: Andrew Spurrier <aspurrie>
Component: ipaAssignee: Martin Kosek <mkosek>
Status: CLOSED WONTFIX QA Contact: Namita Soman <nsoman>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.5CC: dpal, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-03 02:19:27 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:

Description Andrew Spurrier 2013-12-03 01:29:30 UTC
Description of problem:
Setting up IPA at home so I made my own top level domain of "wineries".  The DNS capability of IPA is very happy and I created various A and CNAME records.

Next I went to add users. IPA refused with the following error:
     "invalid 'email': invalid e-mail format: liam@wineries"


Version-Release number of selected component (if applicable):
3.0.0-37

How reproducible:
Always

Steps to Reproduce:
1.  Install IPA and give it a top level domain to manage.  
2.  Add a user
3.

Actual results:
User is not created.

Expected results:
User should be create with an email address of "<user>@<domain>" regardless that the domain is a top level domain.

Additional info:
I expect someone made a wrong assumption when testing the validity of email addresses.

From personal experience organisations that operate their networks completely separate from the internet regularly use their organisation's identifer as the top level domain.  People forget that the "internet" is not the only network.

Comment 1 Dmitri Pal 2013-12-03 02:13:26 UTC
This is a known limitation so far. There are upstream tickets to address that but they are deferred. The actual e-mail issue with adding users is also a know issue.
I think current latest upstream installation would not allow you to install IPA using a single level domain - this is a requirement.

Been through this problem myself.

I am inclined to close this BZ as WONTFIX.

Comment 2 Andrew Spurrier 2013-12-03 02:19:27 UTC
Fair enough.  
Makes sense to wait for a real commercial requirement to exist.
Sorry I did not think to check the upstream bugzilla first.  I have closed this bug as WONTFIX like you suggested.