Finally made it work. This is the working configuration for me: ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key --username=%{%{mschap:User-Name}:-00} --domain=CFS.UOGUELPH.CA --challenge=%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}" It works for both user and machine authentication. Thank you for everyone's help! Dennis ----- Original Message ----- From: "A L M Buxey" <A.L.M.Buxey@lboro.ac.uk> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Cc: "Dennis Xu" <dxu@uoguelph.ca> Sent: Tuesday, December 8, 2015 6:40:53 PM Subject: Re: Machine auth fails but user auth works Hi,
But as I wrote before if you know that all clints are talking to the same domain, why allow them to fiddle with the settings?
exactly. either hardcode it in config or REMOVE the option :) alan