Multiple users databases (files)

tdn at tdn.co.ke tdn at tdn.co.ke
Tue Jan 22 04:16:09 CST 2002


I am running radiator 2.15 on solaris 7.
My users database is on a flat text file.
I would like to split my users file into 2 files, in preparation for some
kind of service separation.
Please advise on how to go about it... ( the only thing i want to achieve
for now is to have GroupA customers in one file
and groupB customers in another.

(attached see my current radius.cfg file )

Your quick help will be appreciated.

TDN

radius.cfg
======
LogDir          /usr/local/radiator
DbDir           /usr/local/radiator/raddb
Trace           3
LogFile                 %L/logfile/logfile.%Y%m%d
PmwhoProg       /usr/local/sbin/offline-nswho
<SessionDatabase DBM>
        Identifier SDBI
        Filename /usr/local/radiator/raddb/online
</SessionDatabase DBM>


<Client 1.1.1.1>
        Secret  xxx
        DefaultRealm    mydomain.dom
        IgnoreAcctSignature
        NasType TotalControl
</Client>

<Client 2.2.2.2>
        Secret  xxx
        DefaultRealm    mydomain.dom
        IgnoreAcctSignature
        NasType TotalControl
</Client>

# Mainly for the radpwtst utility
<Client DEFAULT>
        Secret  mysecret
        DupInterval 0
       DefaultRealm mydomain.dosm
</Client>

<Realm mydomain.dom>
        RewriteUsername s/\s+//g
        # Strip the realm
        RewriteUsername s/\@mydomain\.dom$//
        <AuthBy FILE>
        </AuthBy>
        AcctLogFileName %L/detail/detail.%Y%m%d
</Realm>

-------------------------------------------------------

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc 
on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list