Using Custom table in FreeRadius

Alan DeKok aland at deployingradius.com
Mon May 24 19:14:39 CEST 2010


Ahmed Munir wrote:
> I've successfully using table sip_buddies instead of radcheck
> table(which is used by default by FreeRadius). The problem I'm facing is
> that I can not call more than 5 attribute in table sip_buddies in
> dialup.conf i.e. id, name, attribute, secret and op. But when I call
> more than 5 attributes i.e. id, name, zero_name, attribute, secret, op 
> I'm getting error as listed below;

  The SQL module expects certain fields in the response to the SELECT
query.  If you give it *different* data, it will get confused.

  See doc/rlm_sql.

> Kindly advise me how can I resolve this(calling more than 5 attributes
> in sip_buddies table) issue. Please reply this at your earliest.

  Kindly read the existing documentation, and *understand* what you're
doing before making random changes to the tables and queries.

  Alan DeKok.



More information about the Freeradius-Users mailing list