On Nov 9, 2007 4:59 PM, <[EMAIL PROTECTED]> wrote:

> hi,
>
> nasty.  but you could do it....eg some in this pseudo code
> method - just to start you off...  perl module
>
>
> sql = your SQL table
>
> $password = select password from sql where username =
> $RADREQUEST{%username}
>
> if ($RADREQUEST{%User-Password} != $password) {
> $RADREPLY = "Your password is incorrect";
> return MODULE_UPDATED;
> }
>
>
> of course, theres a few dozen bits of perl MySQL missing and a couple
> of check items gone...and you'd probably have to be careful where/when you
> run
> this. but it should do the job
>
> alan
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


Hi Alan, thank you very much for the pseudo codes. I'm quite new to
FreeRADIUS, so I need to check with you: are these for writing a new module?

-- 
Best Regards,
Lee Sing Chyun
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to