diff --git a/gestion/gen_confs/bind.py b/gestion/gen_confs/bind.py index a3f08850..884c86e5 100644 --- a/gestion/gen_confs/bind.py +++ b/gestion/gen_confs/bind.py @@ -42,7 +42,7 @@ la base LDAP # Résolution directe zones_direct = [ 'crans.org' , 'crans.ens-cachan.fr', 'wifi.crans.org' , 'ferme.crans.org' , 'clubs.ens-cachan.fr', 'adm.crans.org' ] # Résolution inverse - zones_reverse = [ '138.231.136.0/21', '138.231.144.0/21', '10.231.136.0/24', '10.2.9.0/24' ] + zones_reverse = [ '138.231.136.0/21', '138.231.144.0/21', '10.231.136.0/24', '10.2.9.0/24', '10.42.0.0/16' ] ### Liste DNS # Le premier doit être le maitre diff --git a/gestion/iptools.py b/gestion/iptools.py index b80039fb..498a74bf 100644 --- a/gestion/iptools.py +++ b/gestion/iptools.py @@ -101,7 +101,6 @@ def AddrInNet(ip,net) : Note : retourne False si l'IP est une adresse de réseau ou broadcast """ if type(net)==str : net = [ net ] - r = False ip = QuadToDec(ip) for ne in net : diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index d5003977..ef56d003 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -30,7 +30,7 @@ random.seed() # On initialise le générateur aléatoire ################################################################################## ### paramètres de connexion à la base LDAP -test_hosts = ('munin',) +test_hosts = tuple() cur_user = os.getenv('SUDO_USER') or pwd.getpwuid(os.getuid())[0] diff --git a/wiki/theme/CransWifi.py b/wiki/theme/CransWifi.py index 4a984165..dad6fd03 100644 --- a/wiki/theme/CransWifi.py +++ b/wiki/theme/CransWifi.py @@ -84,7 +84,7 @@ class Theme(ThemeBase): u'', # end of yui-b u'', # end of yui-main # NAVIGATION - u'
', + u'
', self.logo(), u'

Navigation

', self.navibar(d),