<DIV id=RTEContent> <DIV><FONT face=Arial size=3>Thanks a lot Alan,</FONT></DIV> <DIV><FONT face=Arial size=3></FONT> </DIV> <DIV><FONT face=Arial size=3>I would like to explain what I am trying to develop. If someone has any advise, please tell me. This is my scenario:</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2><EM>Until now, we have a RADIUS server (RADIUS PSI) which only receives Access-Request packets.</EM></FONT></DIV> <DIV><EM></EM> </DIV> <DIV><FONT face=Arial size=2><EM>Also we have a CGI application located in the URL </EM><A href="http://X.Y.Z.W:8080/nucleo"><EM>http://X.Y.Z.W:8080/nucleo</EM></A><EM> </EM></FONT></DIV> <DIV><FONT face=Arial size=2><EM>This application receives a set of parameters as an URL encoded string (all characters that are not a-z, A-Z or 0-9 are converted to their "URL escaped" version) with this form:</EM></FONT></DIV> <DIV><FONT face=Arial
size=2><EM>Attribute1=Value1&Attribute2=Value2... (where Attribute1, Attribute2... and Value1,Value2... are the differents Attribute/Value pairs obtained from the Access-Request packet)</EM></FONT></DIV> <DIV><FONT face=Arial size=2><EM>The CGI application consults a remote database (and normally authenticate the user using the telephone number; although there are other variants).</EM></FONT></DIV> <DIV><EM></EM> </DIV> <DIV><FONT face=Arial size=2><EM>According to the response obtained from the remote resource, the RADIUS server adds differents Attribute/Value pairs to the reply list, and always reply with an Access-Accept packet (whether or not the CGI application authenticate the user successfully)</EM></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=3>Now, we want to change to a FreeRadius server.</FONT></DIV> <DIV><FONT size=3> </FONT></DIV> <DIV><FONT size=3>I only want to call the remote resource (using th!
e libcurl
library) passing it the appropiates parameters and collect the information returned by it in order to create the reply list. As the CGI application performs the authorize and authenticate activities I am a little embarrassed to say that I am not sure which function should I implement (authorize or authenticate).</FONT></DIV> <DIV><FONT size=3></FONT> </DIV> <DIV><FONT size=3>Thank you very much in advance</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3>Best wishes,</FONT></DIV> <DIV><FONT size=3>Susana</FONT></DIV> <DIV> </DIV> <DIV> </DIV><BR><BR> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>----- Original Message ----- <BR>From: "Alan DeKok" <ALAND@OX.ORG><BR>To: "FreeRadius users mailing list" <FREERADIUS-USERS@LISTS.FREERADIUS.ORG><BR>Sent: Tuesday, January 03, 2006 4:31 PM<BR>Subject: Re: authorize and authenticate methods ina custom module<BR><BR><BR>> Susana Macias
<SUSANA_MACIAS12@YAHOO.ES>wrote:<BR>> > I have started working with the RADIUS protocol (and with FreeRadius<BR>> > in particular) three weeks ago. Congratulations for the product, it is<BR>> > really powerful!<BR>><BR>> Thanks.<BR>><BR>> > But, when are the authorize() and authenticate() methods called?<BR>><BR>> When a packet comes in. See doc/aaa.txt<BR>><BR>> > Is it necessary to include in the radiusd.conf the name of the<BR>> > instance (of the new module created) in the authorize section in order<BR>> > to call its authorize() method?<BR>><BR>> Yes.<BR>><BR>> Alan DeKok.<BR>> -<BR>> List info/subscribe/unsubscribe? See<BR>http://www.freeradius.org/list/users.html<BR>><BR><BR><BR></BLOCKQUOTE><BR></DIV><p>
<hr size=1><br><font face="Verdana" size="-2">Correo Yahoo!<br>Comprueba qué es nuevo, <a href="http://us.rd.yahoo.com/mail/es/whatsnew/*http://es.whatsnew.mail.yahoo.com/">aquí</a><br>http://correo.yahoo.es</font>