From 5297a4855d01d0b96a4842e2671269d2c604c427 Mon Sep 17 00:00:00 2001
From: intrigeri <intrigeri@boum.org>
Date: Mon, 23 Jun 2008 21:09:14 +0000
Subject: [PATCH] LDAP helper: make error message clearer when no supported
 backend is found

---
 ChangeLog               | 3 ++-
 handlers/ldap.helper.in | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8783e89..06f45d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,7 +11,8 @@ version 0.9.6 -- unreleased
 	   from being done. Also migrated full/incremental backup switch to the
 	   new syntax.
 	ldap:
-	 . support HDB backend just as the BDB one (Closes: #476910)
+	 . support HDB backend just as the BDB one, and make message clearer
+	   when no supported backend is found (Closes: #476910)
 	rdiff:
 	 . Fixed ignore_version default value missing
 	 . Add patch from Matthew Palmer to rdiff handler to incorporate sshoptions
diff --git a/handlers/ldap.helper.in b/handlers/ldap.helper.in
index a00c40a..9251826 100644
--- a/handlers/ldap.helper.in
+++ b/handlers/ldap.helper.in
@@ -84,7 +84,7 @@ ldap_wizard() {
      _RESTART=yes
      ldap_create_file
    else
-     msgBox "ldap action wizard" "I couldn't find any backends in your slapd.conf. Bailing out." 
+     msgBox "ldap action wizard" "I couldn't find any supported backend in your slapd.conf. Bailing out." 
      return
    fi
 }
-- 
GitLab