selftest: Add check customdc has valid realm/domain
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 30 May 2019 02:46:35 +0000 (14:46 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 31 May 2019 05:18:21 +0000 (05:18 +0000)
commit6defc1f183d6a9f24af1674d1dfee36d9e9bdc76
tree4aafd55b5c9bf3cdff438b12c56553b0b95a8bb3
parentf2f0ebb073353196f381fe2e01e4001983710255
selftest: Add check customdc has valid realm/domain

If we couldn't determine the realm/domain from the backup file, it's a
lot nicer to fail early with a clear error message (rather than failing
later on with a really obscure message).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba4.pm