I've opened an issue: https://github.com/emu-wg/rfc7170bis/issues/14 , summarized as:
When using normal EAP, the server sees the EAP Identity before it selects which EAP type is being used. However, with TEAP, the inner tunnel method (EAP or basic password) has to be chosen by the server before it sees any user identity. This limitation means that it is impossible for the server to divide users into groups, as with: • users matching X get basic password auth • all other users get EAP Perhaps we have to define an Identity-Hint TLV which is sent by the peer as soon as the inner tunnel is established? The server can then use this hint to select which authentication method to use. i.e .when the EAP authenticator receives TEAP, it has no idea whether to pick EAP or basic password. It just has to pick one randomly, and hope for the best. If it picks the wrong one, then there are "extra" rounds of authentication, or users might not get authenticated. In practice, this likely means that TEAP implementations will either do password authentication all of the time, or EAP authentication all of the time. But not both on the same server. At the minimum, this issue should be discussed in the document, with a warning of "here be dragons". If we're willing to extend TEAP, I don't think we need to rev the protocol. We could just add an optional Identity-Hint TLV which is sent by the supplicant as soon as the inner tunnel is established. If the server sees the TLV, it can use it. Otherwise, it's an optional TLV, and the server is free to ignore it. I think this is almost the last open issue. It would help to get feedback from people currently using TEAP, to see if (a) this is a real problem, or (b) it's fine and we can ignore it. Alan DeKok. _______________________________________________ Emu mailing list Emu@ietf.org https://www.ietf.org/mailman/listinfo/emu