I did this by running multiple instances of freeradius with a database and custom config file for each "owner".
Seems to work well here, but It doesn't scale as well as Realms. ;) YMMV - Brian J. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of > Simon White > Sent: Thursday, January 23, 2003 6:30 AM > To: [EMAIL PROTECTED] > Subject: Re: Using one server with multiple owners. > > > 23-Jan-03 at 13:19, Joost Hietbrink > ([EMAIL PROTECTED]) wrote : > > Yeah, I've read up to realms :). But this would mean I have > to let NASes or > > their users put some kind of > @thisissomedatabasetableidentifier at the end > > of their username wouldn't it? Or can I add this > automaticly by putting > > something in the clients.conf file? And put some check in > the 'authorize' > > and 'accounting' section so it would select sql1 or sql2 or > sql3 (all > > different databases) to use? > > Maybe this? > > # rewrite arbitrary packets. Useful in accounting and > # authorization. > ## FIXME: This is highly experimental at the moment. Please > give > ## feedback. > #attr_rewrite sanecallerid { > # attribute = Called-Station-Id > # may be "packet", "reply", or "config" > # searchin = packet > # searchfor = "[+ ]" > # replacewith = "" > # ignore_case = no > # max_matches = 10 > #} > > I don't know how it works, but perhaps you could use it to add a realm > to each NAS by comparing the attribute for NAS ID and then changing > username (I'm clutching at straws, really). > > Maybe the NAS can add the domain? > > -- > |-Simon White, Internet Services Manager, Certified Check Point CCSA. > |-MTDS Internet, Security, Anti-Virus, Linux and Hosting Solutions. > |-MTDS 14, rue du 16 novembre, Agdal, Rabat, Morocco. > |-MTDS tel +212.3.767.4861 - fax +212.3.767.4863 > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
