]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS server: Accept ERP keyName-NAI as user identity
authorJouni Malinen <jouni@codeaurora.org>
Mon, 8 Apr 2019 21:10:20 +0000 (00:10 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 8 Apr 2019 21:10:20 +0000 (00:10 +0300)
commit3580ed8266f673b41ba494b1b2c823d145064439
treea1554d63b75e02421851bd56f459d1d1f2c3e2cd
parent8f5b1c40bddf6e0a67f8381ad5f82440d14c894f
RADIUS server: Accept ERP keyName-NAI as user identity

Previously the EAP user database had to include a wildcard entry for ERP
to work since the keyName-NAI as User-Name in Access-Request would not
be recognized without such wildcard entry (that could point to any EAP
method). This is not ideal, so add a separate check to allow any stored
ERP keyName-NAI to be used for ERP without any requirement for the EAP
user database to contain a matching entry.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/radius/radius_server.c