X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fldap.helper.in;h=5ccbe7e860726e3ab822270d24b3cb332ab828ef;hp=697c720209595a84c62de09a7bd8fc32a7cd938e;hb=c2f0b78ad6725fb1194ab1e58e4625c0c1989b57;hpb=929a6bda9ab797ef04d46c559ed068e03dacf330 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 = " 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"