python:tests: Allocate OID range for testing to avoid collisions
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 25 Aug 2022 08:21:01 +0000 (20:21 +1200)
committerRalph Boehme <slow@samba.org>
Thu, 25 Aug 2022 13:55:47 +0000 (13:55 +0000)
commitf99fb9aa120c5a7d499bff717b812d81ddd7e9f1
tree5ed1e1a046d85deb4948cf5a5babf9c94ff5bc8f
parent672ec6135f9ae3d7b5439523a4f456c19fb03a88
python:tests: Allocate OID range for testing to avoid collisions

sid_strings.py used the same OID range as ldap_schema.py, which
occasionally led to test failures when the same OID was generated twice.
Using a different range, and making use of the expected RID if we have
it, should reduce the likelihood of collisions.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Aug 25 13:55:47 UTC 2022 on sn-devel-184
python/samba/tests/sid_strings.py
source4/setup/schema_samba4.ldif