summaryrefslogtreecommitdiff
path: root/testprogs/blackbox/renamedc.sh
Commit message (Collapse)AuthorAgeFilesLines
* testprogs/blackbox: Use PYTHON env variable for calling python scriptsNoel Power2018-10-231-2/+2
| | | | | | | | Ensure samba-tool is called with correct python that is defined by $PYTHON Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dbcheck: Do not regard old one-way-links as errorsAndrew Bartlett2017-02-131-2/+4
| | | | | | | | | | | | | | | | | Samba does not maintain one way links when the target is deleted or renamed so do not fail dbcheck because of such links, but allow them to be updated. This matters because administrators and make test expect that normal Samba operation do NOT cause the database to become corrupt, and any error from dbcheck tends to trigger alarms (or test failures). If an object pointed at by a one way link is renamed or deleted in normal operations (such as intersiteTopologyGenerator pointing at a demoted DC), or make test, then this could trigger. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> BUG: https://bugzilla.samba.org/show_bug.cgi?id=12577
* renamedc: Make a more targeted dbcheckGarming Sam2016-07-151-1/+3
| | | | | | | | Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Garming Sam <garming@samba.org> Autobuild-Date(master): Fri Jul 15 13:40:40 CEST 2016 on sn-devel-144
* dbcheck: check for linked atributes that should not existDouglas Bagnall2016-07-151-0/+5
| | | | | | | | | | | | | In order to do this we need to use the reveal internals control, which breaks the comparison against extended DNs. So we compare the components instead. Because this patch makes our code notice and fix stale one-way-links (eg, after a rename) now, the renamedc test needs to be adjusted to match. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* selftest: Improve renamedcs testAndrew Bartlett2015-03-061-0/+10
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest: Improve renamedc tests to confirm more than just the exit codeAndrew Bartlett2015-02-251-3/+38
| | | | | | | This now confirms that the DC has been renamed Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
* testprogs/blackbox: make use of samba-tool domain provisionStefan Metzmacher2012-09-111-1/+1
| | | | metze
* selftest: Pass --use-ntvfs to provison in renamedc testAndrew Bartlett2012-08-221-5/+5
| | | | | | Also fix test prefix to match the test Andrew Bartlett
* s4-test: fixed usage message on renamedc.shAndrew Tridgell2011-07-131-1/+1
|
* s4: add blackbox test for renameMatthieu Patou2011-05-211-0/+42
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 09:50:34 CEST 2011 on sn-devel-104