--On 27 March 2010 12:07 +0600 "Rabidinov M.A." <[email protected]> wrote:

Hello, Freeradius-users.


I use freeradius 2.1.8 with MySQL.
Freeradius doesn't insert realm into radacct table.
[suffix] Looking up realm "un" for User-Name = "tux...@un"
[suffix] No such realm "un"
++[suffix] returns noop


As seen, there is no any data in %{Realm}.

Refer to man rlm_realm

...realms have to be defined in proxy.conf for suffix to recognise them:

realm un {
        ...
}

Alternatively, use a regex in unlang to split the username as you wish.

-James

--
James J J Hooper
Network Specialist
Information Services
University of Bristol
http://www.wireless.bristol.ac.uk               http://www.jamesjj.net
--


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to