summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-12-20 11:34:38 +1300
committerRalph Boehme <slow@samba.org>2019-12-20 10:09:34 +0000
commit16557e4480a7502d45186854546d502479be156f (patch)
tree49f9468f677b94c90e3c0c799de8014c92fc810d /source4
parent49197368d4dc6925ce7713d46d8adb93c51da433 (diff)
downloadsamba-16557e4480a7502d45186854546d502479be156f.tar.gz
selftest: Confirm parse of dnsProperty records
This confirms a name of "." will round-trip correctly. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/tests/dnsp-DnssrvRpcRecord.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/source4/librpc/tests/dnsp-DnssrvRpcRecord.txt b/source4/librpc/tests/dnsp-DnssrvRpcRecord.txt
new file mode 100644
index 00000000000..fd169223c74
--- /dev/null
+++ b/source4/librpc/tests/dnsp-DnssrvRpcRecord.txt
@@ -0,0 +1,32 @@
+pull returned Success
+ dnsp_DnssrvRpcRecord: struct dnsp_DnssrvRpcRecord
+ wDataLength : 0x0005 (5)
+ wType : DNS_TYPE_MX (15)
+ version : 0x05 (5)
+ rank : DNS_RANK_ZONE (240)
+ flags : 0x0000 (0)
+ dwSerial : 0x000000b7 (183)
+ dwTtlSeconds : 0x00000384 (900)
+ dwReserved : 0x00000000 (0)
+ dwTimeStamp : 0x00000000 (0)
+ data : union dnsRecordData(case 15)
+ mx: struct dnsp_mx
+ wPriority : 0x000a (10)
+ nameTarget :
+push returned Success
+pull returned Success
+ dnsp_DnssrvRpcRecord: struct dnsp_DnssrvRpcRecord
+ wDataLength : 0x0005 (5)
+ wType : DNS_TYPE_MX (15)
+ version : 0x05 (5)
+ rank : DNS_RANK_ZONE (240)
+ flags : 0x0000 (0)
+ dwSerial : 0x000000b7 (183)
+ dwTtlSeconds : 0x00000384 (900)
+ dwReserved : 0x00000000 (0)
+ dwTimeStamp : 0x00000000 (0)
+ data : union dnsRecordData(case 15)
+ mx: struct dnsp_mx
+ wPriority : 0x000a (10)
+ nameTarget :
+dump OK