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
e8a8c9e8
Commit
e8a8c9e8
authored
Jan 16, 2018
by
Daniel STAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auth.py: sparadrap
parent
7f370560
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
freeradius/3.0/auth.py
freeradius/3.0/auth.py
+1
-1
No files found.
freeradius/3.0/auth.py
View file @
e8a8c9e8
...
...
@@ -1000,7 +1000,7 @@ class RadiusEventHandler(object):
logger
.
debug
(
'Trying to find a match by MAC (%s)'
,
mac
)
params
.
update
({
'af'
:
'macAddress'
,
'address'
:
crans_utils
.
escape
(
mac
)})
m_list
=
self
.
ldap
.
search
(
LDAP_FILTER
%
params
)
plug
,
room
,
hosts
=
self
.
_plug_info
(
nas_id
,
port
)
if
m_type
==
TYPE_WIRED
else
[]
plug
,
room
,
hosts
=
self
.
_plug_info
(
nas_id
,
port
)
if
m_type
==
TYPE_WIRED
else
(
None
,
None
,
[]
)
if
not
m_list
and
not
is_ieee8021X
(
request
)
and
m_type
==
TYPE_WIRED
and
nas_id
and
port
:
# La recherche n'a rien donné, IEEE 802.1X n'est pas utilisé
...
...
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