Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Benjamin Graillot
scripts
Commits
703f0591
Commit
703f0591
authored
Jan 15, 2018
by
Gabriel Detraz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix triplet find_match
parent
def4a8e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
freeradius/3.0/auth.py
freeradius/3.0/auth.py
+3
-3
No files found.
freeradius/3.0/auth.py
View file @
703f0591
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment