From 65d50f0ac63b6c7831cc0b04bbd476dd48b0991b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 26 Dec 2008 20:22:12 +0200 Subject: Add RADIUS server support for identity selection hint (RFC 4284) Previously, only the delivery option 1 from RFC 4284 (EAP-Request/Identity from the AP) was supported. Now option 3 (subsequent EAP-Request/Identity from RADIUS server) can also be used when hostapd is used as a RADIUS server. The eap_user file will need to have a Phase 1 user entry pointing to Identity method in order for this to happen (e.g., "* Identity" in the end of the file). The identity hint is configured in the same was as for AP/Authenticator case (eap_message in hostapd.conf). --- src/radius/radius_server.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/radius/radius_server.h') diff --git a/src/radius/radius_server.h b/src/radius/radius_server.h index 2911e28..d5fb6a1 100644 --- a/src/radius/radius_server.h +++ b/src/radius/radius_server.h @@ -37,6 +37,8 @@ struct radius_server_conf { int ipv6; int (*get_eap_user)(void *ctx, const u8 *identity, size_t identity_len, int phase2, struct eap_user *user); + const char *eap_req_id_text; + size_t eap_req_id_text_len; }; -- cgit v1.1