#2384 dnsrecord-add does not validate the record names with space in between.
Closed: Fixed None Opened 12 years ago by dpal.

https://bugzilla.redhat.com/show_bug.cgi?id=790318 (Red Hat Enterprise Linux 6)

Description of problem:

This was detected by hbansal as part of IPA DNS test day.
Record name validation check does not work and "test 1" is considered as a
valid record name.

Version-Release number of selected component (if applicable):
ipa-server-2.2.0-101.20120127T0607zgit6863b8f.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
[root@zetaprime ~]# ipa dnsrecord-add lab.eng.pnq.redhat.com
Record name: test 43
Please choose a type of DNS resource record to be added
The most common types for this type of zone are: A, AAAA

DNS resource record type: afsdb
[AFSDB Subtype]: 5
AFSDB Hostname: test43.lab.eng.pnq.redhat.com
  Record name: test 43
  AFSDB record: 5 test43.lab.eng.pnq.redhat.com
[root@zetaprime ~]#


Actual results:
"test 43" is added as a valid record name.

Expected results:
record names with spaces should not be added.

Additional info:

Metadata Update from @dpal:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/02

7 years ago

Login to comment on this ticket.

Metadata