Plus d'invits.
darcs-hash:20060323150946-68412-e53639e21442ce0cd6006e8eff8cb521344eb9a8.gz
This commit is contained in:
parent
bfed30d32a
commit
1c7207577b
7 changed files with 11 additions and 42 deletions
|
@ -6,7 +6,7 @@ from gen_confs import gen_config, ERREUR, OK, anim
|
|||
|
||||
import sys, os, shutil
|
||||
sys.path.append('/usr/scripts/gestion')
|
||||
from ldap_crans import crans_ldap, Invite, BorneWifi
|
||||
from ldap_crans import crans_ldap, BorneWifi
|
||||
|
||||
class conf_wifi_ng(gen_config) :
|
||||
""" Génération de la configuration de isakmpd dans ISAKMPD_CONF
|
||||
|
@ -46,8 +46,7 @@ class conf_wifi_ng(gen_config) :
|
|||
|
||||
def _gen(self):
|
||||
self.anim=anim('\r\tRecherche base LDAP')
|
||||
clients = self.db.search('host=*.wifi.crans.org&paiement=ok')['machineWifi'] + \
|
||||
Invite().machines()
|
||||
clients = self.db.search('host=*.wifi.crans.org&paiement=ok')['machineWifi']
|
||||
bornes = self.db.search('host=*.wifi.crans.org&canal=*')['borneWifi']
|
||||
|
||||
print OK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue