diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 516c306d..c63f98d2 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -1822,7 +1822,7 @@ class machine(base_classes_crans) : self._data={ 'objectClass' : [ 'machine' ] } if typ == 'borne' : # Valeurs par défaut - self._data['canal'] = [ '1-13' ] + self._data['canal'] = [ '2047' ] self._data['puissance'] = [ '60' ] self._init_data={} self.__typ = typ @@ -2291,7 +2291,7 @@ class machine(base_classes_crans) : if 'canal' in self.modifs or 'puissance' in self.modifs : self.services_to_restart('bornes_wifi',[self.nom()]) self.services_to_restart('conf_wifi_ng') - + # Reconfiguration clients wifi ? if self.__typ == 'wifi' and ( 'ipHostNumber' in self.modifs or 'host' in self.modifs or 'macAddress' in self.modifs ) : self.services_to_restart('conf_wifi')