I am trying to build a radius server on a Licencesed RedHat ES 5.5 with the stock Freeradius 2.1.7 rpms.
The problem is %{Stripped-User-Name} does not seem to be working properly.
If I run radius –X I can see the following
[mschapv2] +- entering group MS-CHAP {...}
[mschap] Told to do MS-CHAPv2 for OURUSER@scri.ac.uk with NT-Password
[mschap] expand: %{Stripped-User-Name} ->
[mschap] WARNING: Deprecated conditional expansion ":-". See "man unlang" for details
[mschap] expand: %{User-Name:-None} -> OURUSER@scri.ac.uk
[mschap] expand: --username=%{%{Stripped-User-Name}:-%{User-Name:-None}} -> --username=OURUSER@scri.ac.uk
[mschap] No NT-Domain was found in the User-Name.
[mschap] expand: %{mschap:NT-Domain} ->
[mschap] expand: --domain=%{%{mschap:NT-Domain}:-OURDOMAIN} -> --domain=OURDOMAIN
[mschap] mschap2: 04
[mschap] expand: --challenge=%{mschap:Challenge:-00} -> --challenge=13b2ecc29de42369
[mschap] expand: --nt-response=%{mschap:NT-Response:-00} -> --nt-response=f55853d43f231f154755ce89ca3136f13929f36d728dbfd9
Exec-Program output: Logon failure (0xc000006d)
Exec-Program-Wait: plaintext: Logon failure (0xc000006d)
Note : I’ve changed the username and domain name in the above.
Is this fixable with a configuration file ?
I have already got a working Centos 5.5 server using freereadius 2.1.8, but I want to move it to RedHat too match all the other infrastructure servers.
Also I’m writing a build document for the system so that someone else has a document to follow in the future.
Thanks
iain
Iain Grant
Linux System Administrator
Scottish Crop Research Institute
Invergowrie
Dundee DD2 5DA
Tel : 01382 562731 x 2605