From f6cc3920cdade58872ea0366c1ad739b4e0d2688 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Thu, 10 Mar 2011 13:07:46 +1100 Subject: [PATCH 1/1] more notes in README --- README | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 70 insertions(+), 19 deletions(-) diff --git a/README b/README index 1a3cb25..6266ae2 100644 --- a/README +++ b/README @@ -17,42 +17,93 @@ so not all features will be available. Installing ========== +GSS mechglue +------------ + When installing, be sure to edit $prefix/etc/gss/mech to register the EAP mechanisms. A sample configuration file is in this directory. +You may need to specify an absolute path. + +RADIUS client library +--------------------- Make sure your RADIUS library is configured to talk to the server of your choice: see the example radsec.conf in this directory. If you want to use TCP or TLS, you'll need to run radsecproxy in front of your RADIUS server. +RADIUS server +------------- + +These instructions apply to FreeRADIUS only, which is downloadable +from http://freeradius.org/. After configure, make, install, do the +following: + On the RADIUS server side, you need to install dictionary.ukerna and -include it from the main dictionary file (assuming it has a dictionary -format compatible with FreeRADIUS). +include it from the main dictionary file. Do this by adding: -If you want the acceptor be able to identify the user, the RADIUS -server needs to echo back the EAP username from the inner tunnel; -for privacy, mech_eap only sends the realm in the EAP Identity -response. To configure this with FreeRADIUS, add: + $INCLUDE dictionary.ukerna - update outer.reply { - User-Name = "%{request:User-Name}" - } +to $prefix/share/freeradius/dictionary. + +Edit $prefix/etc/raddb/users to add your test user and password: + + bob@PROJECT-MOONSHOT.ORG Cleartext-Password := secret -to $prefix/etc/raddb/sites-enabled/inner-tunnel, and ensure that +Edit $prefix/etc/raddb/attrs to permit the release of keying attributes, +by commenting out or removing the following: - virtual_server = "inner-tunnel" + # MS-MPPE-Recv-Key =* ANY, + # MS-MPPE-Send-Key =* ANY, + # MS-CHAP-MPPE-Keys =* ANY, -is set in eap.conf for the desired EAP types. Other than that, -configuration of FreeRADIUS should be identical for other NAS -applications. +Add an entry for your acceptor to $prefix/etc/raddb/clients.conf: -To test the SAML assertion code path, you can place a fixed SAML -assertion in the update reply block of the default configuration. + client somehost { + ipaddr = 127.0.0.1 + secret = testing123 + require_message_authenticator = yes + } - update reply { - SAML-AAA-Assertion = '