samba-tool drs showrepl: do not crash if no dnsHostName found
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 10 Oct 2018 22:59:52 +0000 (11:59 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 12 Oct 2018 13:27:07 +0000 (15:27 +0200)
commit2fc855e7d2458249ca6fc8ffdf1d7633ab84cc55
tree834e9034b2dc5216ed129e08c7691b956426008f
parent3efb4588abaf55c0b58b035790d9da822f62b09d
samba-tool drs showrepl: do not crash if no dnsHostName found

This should not happen, but it does sometimes in an autobuild
environment. Rather than reporting this by crashing, we report it by
showing there is no DNS name.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Fri Oct 12 15:27:07 CEST 2018 on sn-devel-144
python/samba/netcmd/drs.py