Handle different failure modes when we wipe the db in provision
authorAndrew Bartlett <abartlet@samba.org>
Thu, 18 Dec 2008 06:17:56 +0000 (17:17 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 Dec 2008 06:17:56 +0000 (17:17 +1100)
commit7a5b6a2ea194677c59ad6fab0aca3f102b5b2f46
tree83757845ad7899e335296c49aec9bd008cca8649
parent1a399db01c90753f0f1c70b2987b925c828b1c53
Handle different failure modes when we wipe the db in provision

We didn't handle the mode where we can't load the main sam.ldb due to
the modules being 'wrong', and when we did remove the file, we didn't
wipe the partitions.
source4/scripting/python/samba/provision.py