rml_perl question

Peter Nixon listuser at peternixon.net
Wed Jul 25 17:17:14 CEST 2007


On Wed 25 Jul 2007, FreeRadius-ML wrote:
> Hi Peter,
>
>   Thanks, that was the missing part for me - I think. Just let me verify
> that I got you correctly:
>
>   1. My OpenSER will send a request to FreeRadius including the full
> digest information. 
> 2. Once the request in intercepted by FreeRadius, my 
> rlm_perl will simply need to ask the TCP server for the password of the
> user.

yes.

>   3. Once that password had been retrieved, I'll simply set the
> RAD_REPLY{'Cleartext-ssword'} to the password that was retrieved from the
> TCP server.

No. It needs to be RAD_CHECK{'Cleartext-Password'}

>   4. Once the rlm_perl script returns with the OK setting, the rest will
> be handled by the digest module.

Yes. Thats what we have been telling you :-)

>   Have I got it right this time? sorry for being a bit of a pain.

With the exception of Cleartext-Password being a CHECK item and not a REPLY 
item, yes, you are correct.


-- 

Peter Nixon
http://peternixon.net/



More information about the Freeradius-Users mailing list