freeRADIUS -> AD Auth

nfischer at nfischer at
Fri Aug 15 13:02:25 CEST 2014

Hi again.

I have one last Problem.
I hope i don´t bug you.

The mschapv2 challange fails.
--domain=%{mschap:NT-Domain} doesn´t change the result.

[mschapv2] # Executing group from file
[mschapv2] +- entering group MS-CHAP {...}
[mschap] Creating challenge hash with username: hausmeister at oblan
[mschap] Told to do MS-CHAPv2 for hausmeister at oblan with NT-Password
[mschap]        expand: %{Stripped-User-Name} -> hausmeister
[mschap]        expand:
--username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} ->
[mschap] Creating challenge hash with username: hausmeister at oblan
[mschap]        expand: %{mschap:Challenge} -> fffc6d74f50463ee
[mschap]        expand: --challenge=%{%{mschap:Challenge}:-00} ->
[mschap]        expand: %{mschap:NT-Response} ->
[mschap]        expand: --nt-response=%{%{mschap:NT-Response}:-00} ->
Exec-Program output: Reading winbind reply failed! (0xc0000001)
Exec-Program-Wait: plaintext: Reading winbind reply failed!
Exec-Program: returned: 1
[mschap] External script failed.
[mschap] FAILED: MS-CHAP2-Response is incorrect
++[mschap] returns reject

NTLM_AUTH works:
haus-meister at KRATOS:~$ ntlm_auth --request-nt-key
--username=hausmeister --domain=OBLAN
NT_STATUS_OK: Success (0x0)

Winbind gives me a list of all AD Users with wbinfo -u.
So im pretty sure i still have a mistake in the modules/mschap i´ve
tried a couple of things but nothing worked...

Also i have another question:
Is there a way to tell the clients (especially iOS/Android) that they
have to use a Proxy-Server (e.g
so that the Useres must not do that?

Thanks again!

 Mit freundlichem Gruß
 Nicolas Fischer
 email: nfischer at
 jabber: jagger at
 tel: 01573-0420888
 Skype: jagger64
 TOX: Just ask me :)
 If you sent me a PGP Crypted Mail I´ll be happy and will give you a
free cookie :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: freeradius-log.txt
URL: <>

More information about the Freeradius-Users mailing list