From f9a2aa249143b7ce7f5c4785fd57d0d574d3795b Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Sun, 12 Oct 2008 03:17:36 +0200 Subject: [PATCH] [ldap_crans] Modification des IPs des machines si changement de type de compte darcs-hash:20081012011736-ffbb2-1013dca97a85db4270e37e5d8fbb0b8eab7c7d72.gz --- gestion/ldap_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index beea89f6..a2b78759 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1700,7 +1700,7 @@ class BaseProprietaire(BaseClasseCrans): self.services_to_restart('rouge-dhcp') # Vérification si changement de bât, ce qui obligerai un changement d'IP - if 'chbre' in self.modifs and self.chbre() != '????': + if 'adherentPayant' in self.modifs or 'chbre' in self.modifs and self.chbre() != '????': # Verif si machines avec bonnes ip err = 0 for m in self.machines():