summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2012-09-02 21:43:52 +0200
committerKai Blin <kai@samba.org>2012-09-05 08:41:23 +0200
commitfc9de264972ba46cfd9e8fc67e25aa7ee1fd51a2 (patch)
tree3c16f8803b069c135466f43bef6abd5296d9c9de /librpc
parent15e3991b39d2e9496d01d18479db2804804a39f6 (diff)
downloadsamba-fc9de264972ba46cfd9e8fc67e25aa7ee1fd51a2.tar.gz
samba-fc9de264972ba46cfd9e8fc67e25aa7ee1fd51a2.tar.bz2
samba-fc9de264972ba46cfd9e8fc67e25aa7ee1fd51a2.zip
s4 dns: Handle GSS-TSIG signatures
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/dns.idl14
1 files changed, 14 insertions, 0 deletions
diff --git a/librpc/idl/dns.idl b/librpc/idl/dns.idl
index a92c418dc5..984f2b34a3 100644
--- a/librpc/idl/dns.idl
+++ b/librpc/idl/dns.idl
@@ -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;