Commit 703f0591 authored by Gabriel Detraz's avatar Gabriel Detraz

Fix triplet find_match

parent def4a8e2
......@@ -964,11 +964,11 @@ class RadiusEventHandler(object):
if self.ldap is None:
logger.error('Unable to reach local LDAP server')
return (None, None, [])
return (None, None, [], None, None)
if mac is None or username is None:
logger.error('No User-Name or Calling-Station-Id attribute')
return (None, None, [])
return (None, None, [], None, None)
if m_type == TYPE_WIRED:
params.update({'objectClass' : 'machineFixe'})
......@@ -976,7 +976,7 @@ class RadiusEventHandler(object):
params.update({'objectClass' : 'machineWifi'})
else:
# Type de machine non géré
return (None, None, [])
return (None, None, [], None, None)
if is_ieee8021X(request):
# Si la requête a été effectuée en utilisant IEEE 802.1X, on cherche
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment