Thanks, that makes everything much clearer now :-) Cheers, Z2L ----- Original Message ----- From: "Peter Nixon" <listuser@peternixon.net> To: freeradius@zap2link.com, "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Wednesday, July 25, 2007 6:17:14 PM (GMT+0200) Asia/Jerusalem Subject: Re: rml_perl question 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/