Why does username is considered as part of the identity ?

Alan DeKok aland
Wed Mar 4 23:07:43 PST 2009

TianHong Zhao wrote:
> In EAP_TTLS/MSCHAPV2, the username is taken from identity (excluding the
> realm part), but why ?

  Because that's what everyone does.

> In the project I'm working on, when using EAP_TTLS/MSCHAPV2, "identity"
> in phase1 is MAC address, "identity" in phase2 is the username,
> is there any easy way to make eap_ttls code choose the right one ?

  You can set the identities independently to whatever you want.

  Alan DeKok.

More information about the Hostap mailing list