[radius_auth] Pas d'auth radius pour machine Cr@ns
Ignore-this: be69bba8f970437ac8f7de2636d990a2 darcs-hash:20121116234654-28565-65db4d79794aeac67f07bfa0987a7b2d257bc303.gz
This commit is contained in:
parent
6089aa2d38
commit
19418d455b
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def do_auth(mac, prise):
|
||||||
# donc sur uplink ou switch non filtré
|
# donc sur uplink ou switch non filtré
|
||||||
# But : éviter le spoof d'une mac d'une machine clef
|
# But : éviter le spoof d'une mac d'une machine clef
|
||||||
proprio = m[0].proprietaire()
|
proprio = m[0].proprietaire()
|
||||||
if proprio.__class__ == AssociationCrans and m[0].prise() == u'N/A':
|
if proprio.__class__ == AssociationCrans:
|
||||||
return (-1, "Machine du crans", "")
|
return (-1, "Machine du crans", "")
|
||||||
|
|
||||||
# blockliste bloq
|
# blockliste bloq
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue