jkroschel has asked for the wisdom of the Perl Monks concerning the following question:

I am currently using Authen::Radius to authenticate users off of a linux server with something similar to the following perl script:
$login='mylogin'; $pass='mypass'; use Authen::Radius; $r = new Authen::Radius(Host => 'myhostname', Secret => 'mysecret'); $response=$r->check_pwd($login, $pass); if ($response eq "1"){ #successful }else{ #unsuccessful }
It is working very well on the linux side. I am now trying to authenticate off of Microsoft’s Internet Authentication Service (IAS). When I try it on the MS side, the connection is made (it is shown in the IAS log), but no response is sent back to the client. Using a windows-based test client, we have found that a response is generated if Radius uses MS-CHAP.

My question is, how do I get my script above to negotiate IAS with MS-CHAP?

2004-12-07 Janitored by Arunbear - added code tags, as per Monastery guidelines