dnsrecord_add interactive mode does not work correctly when more than one record part was entered as command line option:
[root@primenova ~]# ipa dnsrecord-add testrelm.com --sshfp-algorithm=2 Record name: sshfp SSHFP Fingerprint Type: 2 SSHFP Fingerprint: 8F3AFB98121C1DFF087E004A862D30B8935946D8, Record name: sshfp SSHFP record: 2 2 8F3AFB98121C1DFF087E004A862D30B8935946D8, [root@primenova ~]# This works as expected, however, while providing both --sshfp-algorithm and --sshfp-fp-type it asks for sshfp fingerprint multiple times. [root@primenova ~]# ipa dnsrecord-add --sshfp-algorithm=1 --sshfp-fp-type=1 Zone name: testrelm.com Record name: sshfp2 SSHFP Fingerprint: A69D7E3D53DB419FE43830956F08C0BC51431F89 <<<<<< SSHFP Fingerprint: 8F3AFB98121C1DFF087E004A862D30B8935946D8 <<<<<< Record name: sshfp2 SSHFP record: 1 1 8F3AFB98121C1DFF087E004A862D30B8935946D8 Tested in version: ipa-server-2.2.0-9.el6.x86_64
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=790295 (Red Hat Enterprise Linux 6)
Use more descriptive Summary
master: 568de50
ipa-2-2: 73b23bf
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/04
Login to comment on this ticket.