samba-tool domain join: Refuse to re-join a DC with a still-valid password
authorAndrew Bartlett <abartlet@samba.org>
Tue, 31 May 2016 02:54:45 +0000 (14:54 +1200)
committerGarming Sam <garming@samba.org>
Thu, 16 Jun 2016 02:40:12 +0000 (04:40 +0200)
commit215c20b94b3dbc9c739bb78cfe83f8787d92cc76
tree7be9922e74eaa85fc0e94ab47da8375865e73e1f
parent2d79b61731318fc5b4db0044668f9dd90a6482f2
samba-tool domain join: Refuse to re-join a DC with a still-valid password

While the DC will eventually get back to the same state, it can take a
while, so try harder not to overwrite our already-working account

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/join.py
python/samba/tests/samba_tool/join.py [new file with mode: 0644]
source4/selftest/tests.py