#3526 DNS plugin no longer returns structured data
Closed: Fixed None Opened 11 years ago by mkosek.

This is a regression in DNS plugin since the latest LDAP refactoring:

In current master branch:

# ipa dnsrecord-show idm.lab.bos.redhat.com vm-037 --structured --all --raw
  dn: idnsname=vm-037,idnsname=idm.lab.bos.redhat.com,cn=dns,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com
  aRecord: 10.16.78.37
  dNSTTL: 1200
  idnsName: vm-037
  objectClass: top
  objectClass: idnsrecord
  sSHFPRecord: 2 1 0604E5B13A08F88E93F4CC1496E99648F7C45232
  sSHFPRecord: 2 2 7472D615267A207B3EAA2A5B8CCB82A0D36EA1836EA4539F87E3D6FA 27F3914F
  sSHFPRecord: 1 1 0383AEA3FA5C8626F0AD8370E7BDD74F61D3B41D
  sSHFPRecord: 1 2 98DC7D67058FF6CE2D1A61A9C6281787315BA21A8DB6764526272C60 6E2FA929

In previous branches:

# ipa dnsrecord-show example.com ipa --structured --all --raw
  dn: idnsname=ipa,idnsname=example.com,cn=dns,dc=rhel64,dc=ad,dc=test
  idnsname: ipa
  dnsttl: 1200
  dnsrecords: 
    dnstype: A
    dnsdata: 10.16.78.133
    a_part_ip_address: 10.16.78.133

    dnstype: SSHFP
    dnsdata: 2 1 4EB7DF3CB9AF586CBA795F077096DB509ED674C0
    sshfp_part_algorithm: 2
    sshfp_part_fp_type: 1
    sshfp_part_fingerprint: 4EB7DF3CB9AF586CBA795F077096DB509ED674C0

    dnstype: SSHFP
    dnsdata: 1 1 FE5F5359653BD98A4B5B6AAE0578F5B68558C4F2
    sshfp_part_algorithm: 1
    sshfp_part_fp_type: 1
    sshfp_part_fingerprint: FE5F5359653BD98A4B5B6AAE0578F5B68558C4F2
  objectclass: top
  objectclass: idnsrecord

Patch freeipa-mkosek-396-fix-structured-dns-record-output.patch sent for review

This is a regression of current release development which needs to be fixed. Autotriaging to current milestone.

master: 322458b

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.2 - 2013/03

7 years ago

Login to comment on this ticket.

Metadata