treat EAP identities as user IDs
This commit is contained in:
@@ -734,8 +734,8 @@ METHOD(tnccs_manager_t, get_attribute, TNC_Result,
|
|||||||
subject_type = TNC_SUBJECT_MACHINE;
|
subject_type = TNC_SUBJECT_MACHINE;
|
||||||
break;
|
break;
|
||||||
case ID_FQDN:
|
case ID_FQDN:
|
||||||
id_type = TNC_ID_FQDN;
|
id_type = TNC_ID_USER_NAME;
|
||||||
subject_type = TNC_SUBJECT_MACHINE;
|
subject_type = TNC_SUBJECT_USER;
|
||||||
break;
|
break;
|
||||||
case ID_RFC822_ADDR:
|
case ID_RFC822_ADDR:
|
||||||
id_type = TNC_ID_RFC822_ADDR;
|
id_type = TNC_ID_RFC822_ADDR;
|
||||||
@@ -743,7 +743,7 @@ METHOD(tnccs_manager_t, get_attribute, TNC_Result,
|
|||||||
break;
|
break;
|
||||||
case ID_DER_ASN1_DN:
|
case ID_DER_ASN1_DN:
|
||||||
id_type = TNC_ID_DER_ASN1_DN;
|
id_type = TNC_ID_DER_ASN1_DN;
|
||||||
subject_type = TNC_SUBJECT_UNKNOWN;
|
subject_type = TNC_SUBJECT_USER;
|
||||||
break;
|
break;
|
||||||
case ID_DER_ASN1_GN:
|
case ID_DER_ASN1_GN:
|
||||||
id_type = TNC_ID_DER_ASN1_GN;
|
id_type = TNC_ID_DER_ASN1_GN;
|
||||||
|
|||||||
Reference in New Issue
Block a user