From 13edaf0912f8b36d5035b5ebdbbc28fd0d498427 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Tue, 15 May 2012 17:55:41 +0200 Subject: Imported Upstream version 1.0~rc1 --- handlers/ldap.helper.in | 91 ------------------------------------------------- 1 file changed, 91 deletions(-) delete mode 100644 handlers/ldap.helper.in (limited to 'handlers/ldap.helper.in') diff --git a/handlers/ldap.helper.in b/handlers/ldap.helper.in deleted file mode 100644 index 4154cc6..0000000 --- a/handlers/ldap.helper.in +++ /dev/null @@ -1,91 +0,0 @@ -# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- -# vim: set filetype=sh sw=3 sts=3 expandtab autoindent: - -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" yes \ - "ldapsearch" "export ldif using ldapsearch" no \ - "compress" "compress the ldif output files" yes \ - "ssl" "use SSL (deprecated)" no \ - "tls" "use TLS extended operations (RFC2246, RFC2830)" yes - status=$? - compress="compress = no" - method="method = " - restart="restart = no" - binddn="" - passwordfile="" - ssl="ssl = no" - tls="tls = no" - [ $status = 1 ] && return; - result="$REPLY" - for opt in $result; do - case $opt in - '"compress"') compress="compress = yes";; - '"slapcat"') - method="method = slapcat" - [ "$_RESTART" == "yes" ] && restart="restart = yes" - ;; - '"ldapsearch"') - method="method = ldapsearch" - inputBox "ldap action wizard" "ldapsearch requires authentication. Specify here what password file to use. It must have the password with no trailing return and it should not be world readable." - [ $? = 1 ] && return - passwordfile="passwordfile = $REPLY" - inputBox "ldap action wizard" "ldapsearch requires authentication. Specify here what DN to bind as:" - [ $? = 1 ] && return - binddn="binddn = $REPLY" - require_packages ldap-utils - ;; - '"ssl"') ssl="ssl = yes";; - '"tls"') tls="tls = yes";; - esac - done - get_next_filename $configdirectory/30.ldap - cat > $next_filename <