1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/selftest
Tim Beale 89543af0e8 selftest: Test join against DC with non-default site
Recent changes around restoring a domain that lacked
Default-First-Site-Name highlighted a problem. Normally when you join a
DC to a domain, samba-tool works out the correct site to use
automatically. However, if the join uses '--server' to select a DC, then
this doesn't work. It defaults back to Default-First-Site-Name, and the
join command fails if this site doesn't exist.

All the testenvs had Default-First-Site-Name present, so this was never
tested. Now the backupfromdc no longer has a Default-First-Site-Name
site, so running a simple join against that DC fails, highlighting the
problem.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-09-26 07:49:17 +02:00
..
provisions gpo: Maintain an XML DTD for reference of the backup 2018-08-16 23:42:22 +02:00
win Correct "occured" typos. 2017-02-22 08:26:21 +01:00
test_samba3dump.sh test_samba3dump: Use Samba subunit emitter. 2015-03-06 04:41:47 +01:00
test_w2k3_file.sh
test_w2k3.sh
test_win.sh
tests_win2k3_dc.sh
tests_win.sh
tests.py selftest: Test join against DC with non-default site 2018-09-26 07:49:17 +02:00