on met en place la sanction bloq
- bloquage total du firewall de komaz - refus d'authentification radius - bloquage sur squid (le temps que le switch jette la machine) => délai de réauthentification de radius darcs-hash:20060609134849-4ec08-97373756f9c143adc33ea5b08d228fc1f0a3ca97.gz
This commit is contained in:
parent
8689fb905c
commit
b03c53eeae
4 changed files with 17 additions and 2 deletions
|
@ -48,6 +48,11 @@ if __name__ == '__main__' :
|
|||
sys.stdout.write("Machine du crans")
|
||||
sys.exit(-1)
|
||||
|
||||
# blockliste bloq
|
||||
if 'bloq' in m[0].blacklist_actif():
|
||||
sys.stdout.write("Bloquage total des services pour cette machine")
|
||||
sys.exit(-1)
|
||||
|
||||
# Paiment ok ?
|
||||
paid=max(proprio.paiement()+[0])
|
||||
if dat[1]==9 :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue