<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE>@font-face {
font-family: Verdana;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-WEIGHT: normal; COLOR: maroon; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT face=Tahoma
size=2>-----Message d'origine-----<BR><B>De :</B>
freeradius-users-bounces+thibault.lemeur=supelec.fr@lists.freeradius.org
[mailto:freeradius-users-bounces+thibault.lemeur=supelec.fr@lists.freeradius.org]
<B>De la part de</B> Ackbar Joolia<BR><B>Envoyé :</B> lundi 8 janvier
2007 14:07<BR><B>À :</B>
freeradius-users@lists.freeradius.org<BR><B>Objet :</B> MySql and
calling-station-id help please<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana">Dear
all,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana">I want to do
authentication based on calling-station-id and then to assign a static IP from
my database to that requester. SO basically, all the requests coming in will
have the same username and password, and I will only identify each of them
through their calling-station-id, and then assign a Framed-IP-Address to
them.<FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007> </SPAN></FONT></FONT></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007></SPAN></FONT></FONT></FONT></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007>Have you tried the "files" module with a users
file like:</SPAN></FONT></FONT></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007></SPAN></FONT></FONT></FONT></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007>MyUser User-Password == "MyPass",
Calling-Station-Id==000</SPAN></FONT></FONT></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007>
Framed-IP-Address=192.168.1.1</SPAN></FONT></FONT></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007>
Fall-Through=no</SPAN></FONT></FONT></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007></SPAN></FONT></FONT></FONT></SPAN></FONT> </P><FONT
face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=493212513-08012007>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007>MyUser User-Password == "MyPass",
Calling-Station-Id==001</SPAN></FONT></FONT></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007>
Framed-IP-Address=192.168.1.2</SPAN></FONT></FONT></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007>
Fall-Through=no</SPAN></FONT></FONT></FONT></SPAN></FONT></P></SPAN></FONT></FONT></FONT></SPAN></FONT>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007></SPAN></FONT></FONT></FONT></SPAN></FONT> </P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=493212513-08012007>When this setup is working, you''ll then be able to
switch to a mysql backend if you want this to be in a
database.</SPAN></FONT></FONT></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana">I cannot get the
above to work at all, can anyone please give me an idea of how to do the
above?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana">Thanks<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana color=maroon size=1><SPAN
style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: Verdana">Al</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV><BR>
<P><FONT size=2>--<BR>Internal Virus Database is out-of-date.<BR>Checked by
AVG Free Edition.<BR>Version: 7.5.432 / Virus Database: 268.15.29/607 -
Release Date: 28/12/2006 12:31<BR></FONT></P></BLOCKQUOTE></BODY></HTML>