From 0c55510a0d9aedcadacc76a8593cb378aa751da3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 12 Sep 2012 16:31:38 +0200 Subject: s4:upgradehelpers.py: don't require a dns-$HOSTNAME account metze --- source4/scripting/python/samba/upgradehelpers.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py index b0ad3d6607..0b6c7e6663 100644 --- a/source4/scripting/python/samba/upgradehelpers.py +++ b/source4/scripting/python/samba/upgradehelpers.py @@ -798,9 +798,6 @@ def update_dns_account_password(samdb, secrets_ldb, names): "msDS-KeyVersionNumber") secrets_ldb.modify(msg) - else: - raise ProvisioningError("Unable to find an object" - " with %s" % expression ) def search_constructed_attrs_stored(samdb, rootdn, attrs): """Search a given sam DB for calculated attributes that are -- cgit