Skip to content

Commit

Permalink
Remove mel application (#511)
Browse files Browse the repository at this point in the history
* ABiMS - remove mel

* Remove mel

* Remove mel
  • Loading branch information
lecorguille authored Sep 26, 2024
1 parent eb22b63 commit 9039d34
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
9 changes: 0 additions & 9 deletions templates/abims/user/add_user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions templates/abims/user/modify_user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..."
4 changes: 0 additions & 4 deletions templates/abims/user/reset_password.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..."

0 comments on commit 9039d34

Please sign in to comment.