freeradius 2.1.10 & postgresql & custom attributes

Alan DeKok aland at deployingradius.com
Thu Jan 20 20:02:01 CET 2011


slash13 wrote:
> okay let me explain a little bit more, I want to set up a scenario where for
> example a printing service gets accounted.
> i need to add custom attributes e.g. Printing-Service-Name or Printing-Color
> or Printing-Pages etc. to freeradius. in which specific dictionary do i need
> to add these attributes?

  raddb/dictionary.

> and how do i have to adjust the radacct table? 

  See the documentation for the SQL server you use.

> freeradius daemon and db is deployed on ubuntu 10 and the client is a normal
> personal computer sending RADIUS packets to the server. my goal is to start
> an accounting session, send my custom attributes to the server, store it in
> the db and then stop the accounting session.

  If you're not sure about dictionaries && SQL, creating your own custom
attributes is not really a good idea.  Use the existin attributes, there
are lots of them.

  Alan DeKok.



More information about the Freeradius-Users mailing list