mirror of
https://github.com/samba-team/samba.git
synced 2025-02-12 21:58:10 +03:00
An intermittent problem I noticed with tests in the past is that the setup can fail to create the base OU because it already exists. I believe this is because the previous testenv DC has replicated out the test object, but not its deletion at the point that the next testenv DC starts running the test. This only seemed to happen very occassionally (I haven't seen it happen with getnc_unpriv yet, but I also haven't run it through the autobuild yet). Using same randomness in the test OU should help avoid this sort of problem, and it matches what some other replication tests do. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>