diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-02-12 21:58:03 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2013-02-12 21:58:03 +0100 |
commit | bac1052dea7169b3a0898331f10043e782bab2b1 (patch) | |
tree | a6d9622c09edf90574412ada3210ca6844d07b4c /src/libcharon/plugins/tnc_tnccs | |
parent | 7d355f853dc9ef8286cade854611e4db520860f9 (diff) | |
download | strongswan-bac1052dea7169b3a0898331f10043e782bab2b1.tar.bz2 strongswan-bac1052dea7169b3a0898331f10043e782bab2b1.tar.xz |
treat EAP identities as user IDs
Diffstat (limited to 'src/libcharon/plugins/tnc_tnccs')
-rw-r--r-- | src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c b/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c index 6dae80c17..6ddda594d 100644 --- a/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c +++ b/src/libcharon/plugins/tnc_tnccs/tnc_tnccs_manager.c @@ -734,8 +734,8 @@ METHOD(tnccs_manager_t, get_attribute, TNC_Result, subject_type = TNC_SUBJECT_MACHINE; break; case ID_FQDN: - id_type = TNC_ID_FQDN; - subject_type = TNC_SUBJECT_MACHINE; + id_type = TNC_ID_USER_NAME; + subject_type = TNC_SUBJECT_USER; break; case ID_RFC822_ADDR: id_type = TNC_ID_RFC822_ADDR; @@ -743,7 +743,7 @@ METHOD(tnccs_manager_t, get_attribute, TNC_Result, break; case ID_DER_ASN1_DN: id_type = TNC_ID_DER_ASN1_DN; - subject_type = TNC_SUBJECT_UNKNOWN; + subject_type = TNC_SUBJECT_USER; break; case ID_DER_ASN1_GN: id_type = TNC_ID_DER_ASN1_GN; |