<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1250">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>OK. I the user authentication works.</FONT></DIV>
<DIV><FONT face=Arial size=2>But how do I decode the password in my
script.</FONT></DIV>
<DIV><FONT face=Arial size=2>The user sends CHAP password and I dont know how to
decode this password to match the value to mo password that is in my
database.</FONT></DIV>
<DIV><FONT face=Arial size=2>Is it possible ??</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=thor.spruyt@telenet.be href="mailto:thor.spruyt@telenet.be">Thor
Spruyt</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">FreeRadius users mailing
list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, March 15, 2006 8:24
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: perl scripts</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Add this in your script and then run radiusd in
debugging mode:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> for (keys %RAD_REQUEST)
{<BR> &radiusd::radlog(1, "RAD_REQUEST: $_ =
$RAD_REQUEST{$_}");<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV>--<BR>Groeten, Regards, Salutations,</DIV>
<DIV> </DIV>
<DIV>Thor Spruyt<BR>M: +32 (0)475 67 22 65<BR>E: <A
href="mailto:thor.spruyt@telenet.be">thor.spruyt@telenet.be</A><BR>W: <A
href="http://www.thor-spruyt.com">www.thor-spruyt.com</A></DIV>
<DIV> </DIV>
<DIV><A href="http://www.salesguide.be">www.salesguide.be</A><BR><A
href="http://www.telenethotspot.be">www.telenethotspot.be</A><BR></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=debik@vp.pl href="mailto:debik@vp.pl">debik</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">FreeRadius users mailing
list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, March 15, 2006 7:38
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: perl scripts</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hello again. I have stuckon writing that perl
script to autheticate users from onother database. </FONT></DIV>
<DIV><FONT face=Arial size=2>How can i grep the User-Name and Password from
RAD_REQUEST to my perl script as a variable.</FONT></DIV>
<DIV><FONT face=Arial size=2>I have tried to do something like
this:</FONT></DIV>
<DIV><FONT face=Arial size=2>my $username =
$RAD_REQUEST{'User-Name'}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is it anyway possibble what im trying to do
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=debik@vp.pl href="mailto:debik@vp.pl">debik</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">FreeRadius users
mailing list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, March 12, 2006 12:28
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: perl scripts</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I tried to add new sql1.conf. But when i trie
starting te radius server he told me that the database is nit in the
Attribute Value. I that onother dsatabase i have got users of my network,
and i wont, that teh radius server use that logins which are in that
database.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sorry for that HTML, and for my
english.</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mnisay@aim-consultants.com
href="mailto:mnisay@aim-consultants.com">mnisay</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">'FreeRadius users
mailing list'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, March 12, 2006 10:55
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: perl scripts</DIV>
<DIV><BR></DIV>
<DIV dir=ltr align=left><SPAN class=375015309-12032006><FONT face=Arial
color=#0000ff size=2>what do you want to achieve with this perl script,
freeradius can do the authentication.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375015309-12032006><FONT face=Arial
color=#0000ff size=2>is this script for management of database? if it
is, you can use server side php scripts as well.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375015309-12032006><FONT face=Arial
color=#0000ff size=2>if its not, does the perl script manipulates user
database differently? </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375015309-12032006><FONT face=Arial
color=#0000ff size=2>sorry i think i did not get you
well.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=375015309-12032006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> <A
href="mailto:freeradius-users-bounces+mnisay=aim-consultants.com@lists.freeradius.org">freeradius-users-bounces+mnisay=aim-consultants.com@lists.freeradius.org</A>
[mailto:freeradius-users-bounces+mnisay=aim-consultants.com@lists.freeradius.org]
<B>On Behalf Of </B>debik<BR><B>Sent:</B> Saturday, March 11, 2006 2:43
PM<BR><B>To:</B> FreeRadius users mailing list<BR><B>Subject:</B> Re:
perl scripts<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>Yes. But that onother database is not in
radius format like: op, value, etc. So I have to write a perl
script.</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mnisay@aim-consultants.com
href="mailto:mnisay@aim-consultants.com">mnisay</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">'FreeRadius users
mailing list'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, March 11, 2006
11:27 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: perl scripts</DIV>
<DIV><BR></DIV>
<DIV dir=ltr align=left><SPAN class=718082710-11032006><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><FONT
face=Arial color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> <A
href="mailto:freeradius-users-bounces+mnisay=aim-consultants.com@lists.freeradius.org">freeradius-users-bounces+mnisay=aim-consultants.com@lists.freeradius.org</A>
[mailto:freeradius-users-bounces+mnisay=aim-consultants.com@lists.freeradius.org]
<B>On Behalf Of </B>debik<BR><B>Sent:</B> Friday, March 10, 2006 8:41
PM<BR><B>To:</B> FreeRadius users mailing list<BR><B>Subject:</B> Re:
perl scripts<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=718082710-11032006><FONT color=#0000ff> >
</FONT></SPAN>I have got onother mysql base and i wont to write
perl script to tel the radius server to use the data in that
database.</FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=718082710-11032006><FONT face=Arial color=#0000ff
size=2>do you mean use MySQL for freeradius
authentication?</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mnisay@aim-consultants.com
href="mailto:mnisay@aim-consultants.com">mnisay</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeradius-users@lists.freeradius.org
href="mailto:freeradius-users@lists.freeradius.org">'FreeRadius
users mailing list'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 10, 2006
11:26 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: perl scripts</DIV>
<DIV><BR></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT><FONT face=Arial color=#0000ff
size=2></FONT><BR> </DIV>
<DIV></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=171522510-10032006><FONT
color=#0000ff> > </FONT></SPAN>Could somebody share
with some scripts that authorize users in
radius.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=171522510-10032006><FONT
color=#0000ff> > </FONT></SPAN>Im trying to write my
own script, but i don't find any docs.</FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=171522510-10032006><FONT
color=#0000ff> > </FONT></SPAN>Could somebody help
me.<SPAN class=171522510-10032006><FONT
color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=171522510-10032006></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=171522510-10032006><FONT color=#0000ff>authorize users
in radius?</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=171522510-10032006><FONT color=#0000ff>freeradius can
authorize users by
default.</FONT> </SPAN></FONT></FONT></DIV>
<DIV> </DIV><BR>
<P><FONT size=2>--<BR>No virus found in this incoming
message.<BR>Checked by AVG Free Edition.<BR>Version: 7.1.375 / Virus
Database: 268.2.1/278 - Release Date: 3/9/2006<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P><BR>
<P><FONT size=2>--<BR>No virus found in this outgoing
message.<BR>Checked by AVG Free Edition.<BR>Version: 7.1.375 / Virus
Database: 268.2.1/278 - Release Date: 3/9/2006<BR></FONT></P>
<P>
<HR>
<P></P>- <BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html</BLOCKQUOTE><BR>
<P><FONT size=2>--<BR>No virus found in this incoming
message.<BR>Checked by AVG Free Edition.<BR>Version: 7.1.375 / Virus
Database: 268.2.1/278 - Release Date: 3/9/2006<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P><BR>
<P><FONT size=2>--<BR>No virus found in this outgoing
message.<BR>Checked by AVG Free Edition.<BR>Version: 7.1.375 / Virus
Database: 268.2.1/279 - Release Date: 3/10/2006<BR></FONT></P>
<P>
<HR>
<P></P>- <BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html</BLOCKQUOTE><BR>
<P><FONT size=2>--<BR>No virus found in this incoming
message.<BR>Checked by AVG Free Edition.<BR>Version: 7.1.375 / Virus
Database: 268.2.1/279 - Release Date: 3/10/2006<BR></FONT></P>
<P><FONT face=Arial size=2></FONT></P><BR>
<P><FONT size=2>--<BR>No virus found in this outgoing
message.<BR>Checked by AVG Free Edition.<BR>Version: 7.1.375 / Virus
Database: 268.2.1/279 - Release Date: 3/10/2006<BR></FONT></P>
<P>
<HR>
<P></P>- <BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html</BLOCKQUOTE>
<P>
<HR>
<P></P>- <BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html</BLOCKQUOTE>
<P>
<HR>
<P></P>- <BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html</BLOCKQUOTE>
<P>
<HR>
<P></P>- <BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html</BLOCKQUOTE></BODY></HTML>