provision: If --targetdir has been specified then we must always reset posix:eadb...
authorAndrew Bartlett <abartlet@samba.org>
Tue, 25 Jun 2019 04:12:47 +0000 (16:12 +1200)
committerGary Lockyer <gary@samba.org>
Tue, 2 Jul 2019 02:23:09 +0000 (02:23 +0000)
commitb281fc624e53ead0ef614ea2fcff46bc9b599f92
tree5c95ec4a24af05861988c9cd0909d548f2827b62
parent5cbe76e395de1c21246e1ecdaf9eeb57783a34f9
provision: If --targetdir has been specified then we must always reset posix:eadb and xattr_tdb:file

This is required because otherwise this may have been set previously by another
part of selftest thanks to the global loadparm and the running of multiple
samba-tool tests within the same python process.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
python/samba/provision/__init__.py