aboutsummaryrefslogtreecommitdiff
path: root/handlers/ldap.helper.in
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2007-11-24 22:44:39 +0000
committerMicah Anderson <micah@riseup.net>2007-11-24 22:44:39 +0000
commitc2f0b78ad6725fb1194ab1e58e4625c0c1989b57 (patch)
treefaeb0bac2a049e76c02d5bf75b4018677bab2a74 /handlers/ldap.helper.in
parent929a6bda9ab797ef04d46c559ed068e03dacf330 (diff)
downloadbackupninja-c2f0b78ad6725fb1194ab1e58e4625c0c1989b57.tar.gz
backupninja-c2f0b78ad6725fb1194ab1e58e4625c0c1989b57.tar.bz2
fixed ldap helper setting compress option wrong, standardize on options
Diffstat (limited to 'handlers/ldap.helper.in')
-rw-r--r--handlers/ldap.helper.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/handlers/ldap.helper.in b/handlers/ldap.helper.in
index 697c720..5ccbe7e 100644
--- a/handlers/ldap.helper.in
+++ b/handlers/ldap.helper.in
@@ -5,11 +5,11 @@ HELPERS="$HELPERS ldap:ldap_database_backup"
ldap_create_file() {
while true; do
checkBox "ldap action wizard" "check options (slapcat OR ldapsearch)" \
- "slapcat" "export ldif using slapcat" on \
- "ldapsearch" "export ldif using ldapsearch" off \
- "compress" "compress the ldif output files" on
+ "slapcat" "export ldif using slapcat" yes \
+ "ldapsearch" "export ldif using ldapsearch" no \
+ "compress" "compress the ldif output files" yes
status=$?
- compress="compress = off"
+ compress="compress = no"
method="method = <unset>"
restart="restart = no"
binddn=""
@@ -18,7 +18,7 @@ while true; do
result="$REPLY"
for opt in $result; do
case $opt in
- '"compress"') compress="compress = on";;
+ '"compress"') compress="compress = yes";;
'"slapcat"')
method="method = slapcat"
[ "$_RESTART" == "yes" ] && restart="restart = yes"