1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/selftest
Tim Beale dec3eda1f7 tests: Add corner-case test: fromServer points to dead server
The fromServer attribute is slightly unique, in that it's a DN (similar
to a one-way link), but it is also a mandatory attribute.

Currently, if fromServer gets a bad value (i.e. a dead server that has
been expunged), the DSDB rejects any attempts to modify the associated
nTDSConnection object (regardless of whether or not you're actually
changing the fromServer attribute).

This patch adds a test-case that demonstrates how the DB can get into
such a state.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13621

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2018-10-12 04:16:22 +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 tests: Add corner-case test: fromServer points to dead server 2018-10-12 04:16:22 +02:00