Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 745705

Summary: --zonemgr option of ipa-dns-install accepts email addresses without "@".
Product: Red Hat Enterprise Linux 6 Reporter: Gowrishankar Rajaiyan <grajaiya>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: dpal, jgalipea, mkosek, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.2.0-12.el6 Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:14:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 756082    

Description Gowrishankar Rajaiyan 2011-10-13 07:07:43 UTC
Description of problem:
"  --zonemgr=ZONEMGR     DNS zone manager e-mail address. Defaults to root"

As part of negative testing, I provided an email id without "@" to --zonemgr option and expected it to fail. I tried to send mail to just "root" using commandline and checked the logs to find that the mails were directed to "root@$HOSTNAME". So when we say "e-mail address" we should atleast check for "@".

Version-Release number of selected component (if applicable):
ipa-server-2.1.2-2.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install IPA Server Master with all default options, do not install with
--setup-dns
2. [root@bumblebee ~]# ipa-dns-install --zonemgr=123

  
Actual results: setup of DNS for the IPA Server is successful. 


Expected results: 
[root@bumblebee ~]# ipa-dns-install --zonemgr=123
Usage: ipa-dns-install [options]

ipa-dns-install: error: option --zonemgr: invalid email address 123


Additional info:

Comment 2 Martin Kosek 2011-10-13 08:25:16 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/1966

Comment 3 Martin Kosek 2011-10-26 06:53:48 UTC
Fixed upstream:
master: https://fedorahosted.org/freeipa/changeset/b26d0dcc04e821543b8582328e99e630b752768f

Comment 5 Martin Kosek 2012-04-18 20:15:04 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed.

Comment 6 Jenny Severance 2012-04-27 17:43:02 UTC
# ipa-dns-install --zonemgr=123
Usage: ipa-dns-install [options]

ipa-dns-install: error: invalid zonemgr: only letters, numbers, and - are allowed. - must not be the DNS label character

error message does not really match was is wrong ..

I supplied numbers ... which are allowed.

version ::

ipa-server-2.2.0-11.el6.x86_64

Comment 7 Rob Crittenden 2012-04-30 16:47:58 UTC
Fixed upstream with more detailed error reporting.

master: caf36e1f241580c434c3b0bb524f7de00906379d

ipa-2-2: ed99c51117fdc691c65ef9f366862bbe3a9f60ed

Comment 9 Gowrishankar Rajaiyan 2012-05-03 10:31:43 UTC
[root@rodimus ~]# ipa-dns-install --zonemgr=123
Usage: ipa-dns-install [options]

ipa-dns-install: error: invalid zonemgr: missing address domain
[root@rodimus ~]#


Verified.

[root@rodimus ~]# rpm -qi ipa-server
Name        : ipa-server                   Relocations: (not relocatable)
Version     : 2.2.0                             Vendor: Red Hat, Inc.
Release     : 12.el6                        Build Date: Mon 30 Apr 2012 02:52:52 PM EDT
Install Date: Thu 03 May 2012 06:07:28 AM EDT      Build Host: x86-004.build.bos.redhat.com
Group       : System Environment/Base       Source RPM: ipa-2.2.0-12.el6.src.rpm
Size        : 3778371                          License: GPLv3+
Signature   : RSA/8, Wed 02 May 2012 11:16:11 AM EDT, Key ID 938a80caf21541eb
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.freeipa.org/
Summary     : The IPA authentication server

Comment 11 errata-xmlrpc 2012-06-20 13:14:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0819.html