On Nov 9, 2007 4:59 PM,  <<a href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br><br>nasty.  but you could do it....eg some in this pseudo code<br>method - just to start you off...  perl module<br><br><br>sql = your SQL table<br><br>$password = select password from sql where username = $RADREQUEST{%username}
<br><br>if ($RADREQUEST{%User-Password} != $password) {<br>$RADREPLY = "Your password is incorrect";<br>return MODULE_UPDATED;<br>}<br><br><br>of course, theres a few dozen bits of perl MySQL missing and a couple
<br>of check items gone...and you'd probably have to be careful where/when you run<br>this. but it should do the job<br><br>alan<br><div><div></div><div class="Wj3C7c">-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">
http://www.freeradius.org/list/users.html</a><br></div></div></blockquote></div><br><br>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?
<br clear="all"><br>-- <br>Best Regards,<br>Lee Sing Chyun