samdb: test for schemainfo update with relax control
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Thu, 4 Apr 2019 01:39:41 +0000 (14:39 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Apr 2019 04:17:09 +0000 (04:17 +0000)
commite34abefb77729330cd48bc039c82b03fe545f8a9
tree6b0490f0662700727cd11a1406a0c7b8b0c363b4
parent140a6733a458d0afa20237a09ef4ee2546a83a8f
samdb: test for schemainfo update with relax control

Currently schema info's revision field isn't incremented if relax
control is present.  This is so that no increment is done during
provision, but we need the relax control in other situations where the
increment is desired.  This patch adds a failing test to expose the
problem.

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
selftest/knownfail.d/samdb [new file with mode: 0644]
source4/dsdb/tests/python/dsdb_schema_info.py
source4/selftest/tests.py