suppression du setup du docker et fin de la mise à jour des fichiers plats
This commit is contained in:
parent
d49a997ca2
commit
6ec5013c41
@ -8,7 +8,7 @@ setKazVars
|
||||
. $DOCKERS_ENV
|
||||
. $KAZ_ROOT/secret/SetAllPass.sh
|
||||
|
||||
VERSION="19-11-2024"
|
||||
VERSION="5-12-2024"
|
||||
PRG=$(basename $0)
|
||||
RACINE=$(echo $PRG | awk '{print $1}')
|
||||
IFS=' '
|
||||
@ -19,7 +19,6 @@ URL_NC=$(echo $cloudHost).$(echo $domain)
|
||||
URL_AGORA=$(echo $matterHost).$(echo $domain)
|
||||
URL_LISTE=$(echo $sympaHost).$(echo $domain)
|
||||
URL_PAHEKO="$httpProto://${paheko_API_USER}:${paheko_API_PASSWORD}@kaz-paheko.$(echo $domain)"
|
||||
SETUP_MAIL="docker exec -ti mailServ setup"
|
||||
NL_LIST=infos@listes.kaz.bzh
|
||||
URL_AGORA_API=${URL_AGORA}/api/v4
|
||||
EQUIPE=kaz
|
||||
@ -338,7 +337,6 @@ searchDestroy() {
|
||||
echo "-------------------------------"
|
||||
fi
|
||||
############################## - Fin du cas de Kaz ##########################################################################################
|
||||
${SETUP_MAIL} email del -y ${REP_SEARCH_DESTROY} >/dev/null 2>&1
|
||||
echo -e "${NC}"
|
||||
echo ""
|
||||
echo -e "${RED} suppression de ${REP_SEARCH_DESTROY} dans le ldap"
|
||||
@ -413,7 +411,6 @@ gestPassword() {
|
||||
echo -e "$GREEN Le mot de passe sera = $RED ${PASSWORD} ${NC}"
|
||||
docker exec -ti mattermostServ bin/mmctl user change-password $(searchMattermost $COMPTE_A_MODIFIER) -p $PASSWORD >/dev/null 2>&1
|
||||
curl -H 'OCS-APIREQUEST: true' -X PUT $httpProto://admin:$nextcloud_NEXTCLOUD_ADMIN_PASSWORD@$URL_NC/ocs/v1.php/cloud/users/${USER_NEXTCLOUD_MODIF} -d key=password -d value=${PASSWORD} >/dev/null 2>&1
|
||||
${SETUP_MAIL} email update ${COMPTE_A_MODIFIER} ${PASSWORD}
|
||||
pass=$(mkpasswd -m sha512crypt ${PASSWORD})
|
||||
echo -e "\n\ndn: cn=${COMPTE_A_MODIFIER},ou=users,${ldap_root}\n\
|
||||
changeType: modify\n\
|
||||
@ -544,10 +541,6 @@ createMail() {
|
||||
then
|
||||
Main
|
||||
fi
|
||||
# on créé le mail et on met les quotas avec le setup du docker mail pour que
|
||||
# le contenu des fichiers à plat soient idem que l' annuaire ldap
|
||||
${SETUP_MAIL} email add ${EMAIL_SOUHAITE} ${PASSWORD}
|
||||
${SETUP_MAIL} quota set ${EMAIL_SOUHAITE} ${QUOTA}G
|
||||
echo "echo -e '\n\ndn: cn=${EMAIL_SOUHAITE},ou=users,${ldap_root}\n\
|
||||
changeType: add\n\
|
||||
objectclass: inetOrgPerson\n\
|
||||
|
Loading…
Reference in New Issue
Block a user