diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 9488a106..e8c5a949 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2001,6 +2001,10 @@ class machine(base_classes_crans) : if self.proprietaire().__class__ == crans : self.services_to_restart('autostatus') + # On envoie un mail pour annoncer le changement + if self.proprietaire().__class__ == crans : + self.services_to_restart('mail_modification_machine',[self.ip()]) + # Remise à zéro self.modifs=[]