Help: Configuring attributes in Access-Request in 1.1.3

Govardhana K N govardhan.nagarajaiah at gmail.com
Mon Jul 9 17:43:22 CEST 2007


Sorry Ivan,

There was some configuration error, because of which i was not able to see
the attributes in Access-Accept. It is working now.

Thanks for your help.

Thanks & Regards,
Govardhana K N


On 7/9/07, Govardhana K N <govardhan.nagarajaiah at gmail.com> wrote:
>
> I tried configuring the same but it there were no attributes present in
> Access-Accept.
>
> the command I used to create the Access-Request is given below:
>
> [govardhana at cheux301:~$] radclient -x 127.0.0.1 auth testing123
> user-name=govardhana
> user-password=govardhana
> nas-identifier=jrcnas
> nas-port-type=15
> Sending Access-Request of id 219 to 127.0.0.1 port 1812
>         User-Name = "govardhana"
>         User-Password = "govardhana"
>         NAS-Identifier = "jrcnas"
>         NAS-Port-Type = Ethernet
> rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=219, length=20
>
>
> How can i configure any attribute in Access-Accept packet.
>
> Thanks & Regards,
> Govardhana K N
>
>
> On 7/9/07, tnt at kalik.co.yu <tnt at kalik.co.yu> wrote:
> >
> > Since you are mentioning "file", not database, Ldap or such, it's
> > users file (should be at /usr/local/etc/raddb/users). Read the examples
> > and make something like that for your user. You will see what you should
> > check for and what should go in the reply. Format is:
> >
> > user check1, check2, .... , checklast
> >        reply1,
> >        reply2,
> >        ...
> >        replylast
> >
> > All check items go in the first line, all reply items go indented one
> > below another. Items are separated by commas, no comma after last
> > (check/reply) item.
> >
> > Dana 9/7/2007, "Govardhana K N" < govardhan.nagarajaiah at gmail.com> piše:
> >
> > >Ivan,
> > >
> > >Thanks for the information.
> > >
> > >As I am totaly new to FreeRadius, Can u also tell me, in which file
> > should i
> > >update to reflect the attributes in Access-Accept.
> > >is it in sql.conf?
> > >
> > >Thanks & Regards,
> > >Govardhana K N
> > >
> > >
> > >On 7/9/07, tnt at kalik.co.yu <tnt at kalik.co.yu> wrote:
> > >>
> > >> Are you sure? You would need to be a vendor making equipment in order
> > to
> > >> configure new ones. If you just want to add a new vendor attribute
> > that
> > >> is not in the dictionary.vendorName in that (older) version of
> > >> Freeradius you can add new attributes by editing that vendors
> > dictionary
> > >> file. Just follow the template for the existing entries.
> > >>
> > >> Once it is in the dictionary add that VSA to the reply items just
> > like
> > >> any other attribute and it will be passed in the Access-Accept
> > packet.
> > >>
> > >> Ivan Kalik
> > >> Kalik Informatika ISP
> > >>
> > >>
> > >>
> > >> Dana 9/7/2007, "Govardhana K N" <govardhan.nagarajaiah at gmail.com> pi
> > e:
> > >>
> > >> >Hi All,
> > >> >
> > >> >I am new to FreeRadius. I am using Free Radius 1.1.3. I want to
> > configure
> > >> >the vendor attribtes in format as below,
> > >> >
> > >> >
> > >> >+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >> >
> > >> > |RADIUS TYPE 26 | Length        | Vendor-ID
> > >> >
> > >> > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >> >
> > >> >| Vendor-ID (cont)              | Vendor TYPE   | Length         |
> > >> >
> > >> > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >> >
> > >> >| Continuation  | Sub-Type      | Sub-Type-Len  | Sub-Type-Val  |
> > >> >
> > >> > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >> >
> > >> >how can i configure this? Also i want to configure the same in
> > >> >Access-Accept.
> > >> >
> > >> >Can anyone guide me how to configure these.
> > >> >
> > >> >thanks in advance.
> > >> >
> > >> >
> > >> >
> > >> >--
> > >> >With Regards,
> > >> >Govardhana K N
> > >> >
> > >> >
> > >>
> > >> -
> > >> List info/subscribe/unsubscribe? See
> > >> http://www.freeradius.org/list/users.html
> > >>
> > >
> > >
> > >
> > >--
> > >With Regards,
> > >Govardhana K N
> > >
> > >
> >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
> >
>
>
>
> --
> With Regards,
> Govardhana K N
>



-- 
With Regards,
Govardhana K N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070709/c51a0f1d/attachment.html>


More information about the Freeradius-Users mailing list