summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/samba/upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/upgrade.py b/python/samba/upgrade.py
index 83712242fe..af854ef0e0 100644
--- a/python/samba/upgrade.py
+++ b/python/samba/upgrade.py
@@ -791,7 +791,7 @@ Please fix this account before attempting to upgrade again
try:
ldb_object = Ldb(url, credentials=creds)
except ldb.LdbError, e:
- logger.warning("Could not open ldb connection to %s, the error message is: %s", url, e)
+ raise ProvisiongError("Could not open ldb connection to %s, the error message is: %s" % (url, e))
else:
break
logger.info("Exporting posix attributes")