cosmétique
This commit is contained in:
1 parent
6022801a18
commit
15fcedb55d
1 file changed
+3
-1
+3
-1
@@ -273,8 +273,9 @@ searchDestroy() {
|
|||||||
ACTION_EN_COURS="Suppression d'un compte"
|
ACTION_EN_COURS="Suppression d'un compte"
|
||||||
DEL_AUTO=${1}
|
DEL_AUTO=${1}
|
||||||
DEL_MAIL=${2}
|
DEL_MAIL=${2}
|
||||||
if [ "${DEL_AUTO}" != "TRUE" ] && SCRIPT_ENCOURS="Manuel" || SCRIPT_ENCOURS="Auto"
|
if [ "${DEL_AUTO}" != "TRUE" ]
|
||||||
then
|
then
|
||||||
|
SCRIPT_ENCOURS="Manuel"
|
||||||
clear
|
clear
|
||||||
CHOIX_MAIL=""
|
CHOIX_MAIL=""
|
||||||
searchEmail
|
searchEmail
|
||||||
@@ -288,6 +289,7 @@ searchDestroy() {
|
|||||||
echo "Domaine en cours : ${DOMAINE_EN_COURS}"
|
echo "Domaine en cours : ${DOMAINE_EN_COURS}"
|
||||||
echo "--------------------------------- SUPPRESION ----------------------------------------"
|
echo "--------------------------------- SUPPRESION ----------------------------------------"
|
||||||
else
|
else
|
||||||
|
SCRIPT_ENCOURS="Auto"
|
||||||
MAIL_SECOURS=$(ldapsearch -H ldap://${LDAP_IP} \
|
MAIL_SECOURS=$(ldapsearch -H ldap://${LDAP_IP} \
|
||||||
-x -D "cn=${LDAP_ADMIN_USERNAME},${ldap_root}" \
|
-x -D "cn=${LDAP_ADMIN_USERNAME},${ldap_root}" \
|
||||||
-w "${LDAP_ADMIN_PASSWORD}" \
|
-w "${LDAP_ADMIN_PASSWORD}" \
|
||||||
|
|||||||
Reference in new issue
Block a user