selftest: run net ads join test in a private client env
authorUri Simchoni <uri@samba.org>
Wed, 4 Nov 2015 05:31:47 +0000 (07:31 +0200)
committerUri Simchoni <uri@samba.org>
Thu, 10 Mar 2016 10:27:29 +0000 (11:27 +0100)
commitb27cf10c0cb306596a1c0aa8ceb2605714576e0c
tree3a4d0cd73390b2ec14d42b7519b020378ca9f8e5
parent645e777b0aca7d997867e0b3f0b48bfb138cc25c
selftest: run net ads join test in a private client env

net ads join command changes machine password, thus affecting
the test environment beyond the thing we want to test.

This cange runs the test in a private client env, with its
own hostname, newly-generated machine SID, and a separate
secrets.tdb, thus not affecting the running AD member server,

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/selftest/tests.py
testprogs/blackbox/test_net_ads.sh