s4 dns: Create IDL entry for TSIG-like record needed for signature check
authorKai Blin <kai@samba.org>
Wed, 5 Sep 2012 06:16:43 +0000 (08:16 +0200)
committerKai Blin <kai@samba.org>
Wed, 5 Sep 2012 17:02:16 +0000 (19:02 +0200)
librpc/idl/dns.idl

index a92c418dc5ea034bc3cd4914de1985b75f4ca49b..984f2b34a3a83dbe37a338a1e20cdb8ac138ebaf 100644 (file)
@@ -192,6 +192,20 @@ interface dns
                uint8      other_data[other_size];
        } dns_tsig_record;
 
+       typedef [flag(NDR_NOALIGN|NDR_BIG_ENDIAN|NDR_PAHEX),public] struct {
+               dns_string      name;
+               dns_qclass      rr_class;
+               uint32          ttl;
+               dns_string      algorithm_name;
+               uint16          time_prefix; /* 0 until February 2106*/
+               uint32          time;
+               uint16          fudge;
+               uint16          original_id;
+               uint16          error;
+               uint16          other_size;
+               uint8           other_data[other_size];
+       } dns_fake_tsig_rec;
+
        typedef [nodiscriminant,public,flag(NDR_NOALIGN)] union {
                [case(DNS_QTYPE_A)]     ipv4address      ipv4_record;
                [case(DNS_QTYPE_NS)]    dns_string       ns_record;