pytests: try ldap.modify_order with normal user
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 18 Apr 2019 01:39:58 +0000 (13:39 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 1 May 2019 05:32:25 +0000 (05:32 +0000)
commite5a099482d9ad17913065351f8c3d02a2b48c03d
treea11707be275f6afcfa0e02148c579ff6ae76b37e
parentc73888ff6f22de86f72ff254d332b44848cb9959
pytests: try ldap.modify_order with normal user

We run the tests again, trying to modify as a normal user rather than
Administrator.

It turns out that we do not always return the same error code as
Windows, but in all these tests both Windows and Samba always return
some kind of error (as you might hope).

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
16 files changed:
selftest/knownfail.d/modify-order
source4/dsdb/tests/python/ldap_modify_order.py
source4/dsdb/tests/python/testdata/modify_order_account_locality_device-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_container_flags-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_container_flags_multivalue-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_inapplicable-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_member-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_mixed-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_mixed2-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_objectclass-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_objectclass2-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_singlevalue-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_sometimes_inapplicable-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_telephone-non-admin.expected [new file with mode: 0644]
source4/dsdb/tests/python/testdata/modify_order_telephone_delete_delete-non-admin.expected [new file with mode: 0644]
source4/selftest/tests.py