From 9039d347dec1d20cf0449434ffa183e7d9ed8129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gildas=20Le=20Corguill=C3=A9?= Date: Thu, 26 Sep 2024 10:17:02 +0200 Subject: [PATCH] Remove mel application (#511) * ABiMS - remove mel * Remove mel * Remove mel --- templates/abims/user/add_user.sh | 9 --------- templates/abims/user/modify_user.sh | 4 ---- templates/abims/user/reset_password.sh | 4 ---- 3 files changed, 17 deletions(-) diff --git a/templates/abims/user/add_user.sh b/templates/abims/user/add_user.sh index 0cb029e9b..ce4be0347 100755 --- a/templates/abims/user/add_user.sh +++ b/templates/abims/user/add_user.sh @@ -16,13 +16,4 @@ chown -R {{ user.uid }}:{{ user.uid }} '{{ user.home }}' {% include "user/add_extra_dirs.sh" %} -{% if user.create_imap_mailbox %} -mel create-user-aliases '{{ user.uid }}' -mel create-mailbox '{{ user.uid }}' -{% endif %} - -{% if user.password %} -mel add-samba '{{ user.uid }}' --password '{{ user.password }}' -{% endif %} - # add_user.sh diff --git a/templates/abims/user/modify_user.sh b/templates/abims/user/modify_user.sh index 0340b15c1..0078882c8 100755 --- a/templates/abims/user/modify_user.sh +++ b/templates/abims/user/modify_user.sh @@ -6,8 +6,4 @@ set -e ldapmodify -h {{ CONFIG.ldap.host }} -cx -w '{{ CONFIG.ldap.admin_password }}' -D {{ CONFIG.ldap.admin_cn }},{{ CONFIG.ldap.admin_dn }} -f "{{ CONFIG.general.script_dir }}/{{ user.uid }}.{{ fid }}.ldif" -{% if user.password %} -mel add-samba "{{ user.uid }}" --password "{{ user.password }}" -{% endif %} - echo "End modify_user.sh in $0 ..." diff --git a/templates/abims/user/reset_password.sh b/templates/abims/user/reset_password.sh index 905fb4838..08bdbf5e9 100755 --- a/templates/abims/user/reset_password.sh +++ b/templates/abims/user/reset_password.sh @@ -6,8 +6,4 @@ set -e ldapmodify -h {{ CONFIG.ldap.host }} -cx -w '{{ CONFIG.ldap.admin_password }}' -D {{ CONFIG.ldap.admin_cn }},{{ CONFIG.ldap.admin_dn }} -f "{{ CONFIG.general.script_dir }}/{{ user.uid }}.{{ fid }}.ldif" -{% if user.password %} -mel add-samba "{{ user.uid }}" --password "{{ user.password }}" -{% endif %} - echo "End reset_password.sh in $0 ..."