Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
	update {
		&reply: += &session-state:
	}

Testing

To test this functionality, run FreeRADIUS in debug mode and follow the Troubleshooting local GSSAPI connections topic instructions to initiate a Moonshot authentication request.

To switch FreeRADIUS to debug mode, run the following command depending on your platform: 

Code Block
titleOn Debian or Ubuntu
$ su - --shell=/bin/bash freerad
$ unset DISPLAY
$ /usr/sbin/freeradius -fxx -l stdout
Code Block
titleOn Redhat, CentOS or Scientific Linux
$ su - --shell=/bin/bash radiusd
$ unset DISPLAY
$ radiusd -fxx -l stdout

A successful test will show output similar to the below in the FreeRADIUS output:

Code Block
languagebash
titleFreeRADIUS debug output
(14) Sent Access-Accept Id 0 from 0.0.0.0:2083 to 127.0.0.1:37755 length 0
(14)   MS-MPPE-Recv-Key = 0x4d791488748973762623708aec1644b4dcfd84e66ad081eb772570e0d46cd187
(14)   MS-MPPE-Send-Key = 0x4b95963b88d001563c46392523059fd60b674b6c60ed096df2492baa9b8acf99
(14)   EAP-Message = 0x03070004
(14)   Message-Authenticator = 0xb906d3aee95801d863c8d597d2e8ff92
(14)   Moonshot-Host-TargetedId = "0a12fe5a-998a-5020-89e4-ec4f6c856d68@example.com"
(14)   Moonshot-Realm-TargetedId = "1eb1a34b-4243-5e33-920e-212af366b597@example.com"
(14)   Moonshot-TR-COI-TargetedId = "e0f7494d-e349-5674-800c-bca041f1747a@example.com"
(14) Finished request