Bug 745705 - --zonemgr option of ipa-dns-install accepts email addresses without "@".
Summary: --zonemgr option of ipa-dns-install accepts email addresses without "@".
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 756082
TreeView+ depends on / blocked
 
Reported: 2011-10-13 07:07 UTC by Gowrishankar Rajaiyan
Modified: 2012-06-20 13:14 UTC (History)
4 users (show)

Fixed In Version: ipa-2.2.0-12.el6
Doc Type: Bug Fix
Doc Text:
No documentation needed.
Clone Of:
Environment:
Last Closed: 2012-06-20 13:14:52 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0819 0 normal SHIPPED_LIVE ipa bug fix and enhancement update 2012-06-19 20:34:17 UTC

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


Note You need to log in before you can comment on or make changes to this bug.