diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index c63f98d2..e9801715 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2308,6 +2308,10 @@ class machine(base_classes_crans) : self.services_to_restart('autostatus') self.services_to_restart('mail_modif',['ip=%s' % self.ip()]) + # Synchronisation avec la base pgsql pour les exemptions + if 'exempt' in self.modifs or 'ipHostNumber' in self.modifs : + self.services_to_restart('exemptions') + # Remise à zéro self.modifs=[]