(RADIATOR) Multiple databases (file) for the users

Hugh Irvine hugh at open.com.au
Wed Jan 23 01:56:35 CST 2002


Hello Davidson -

>
> 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.
>

You should do something like this:

# define Realm

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


BTW - the latest version of Radiator is 2.19 and you should probably upgrade.


regards

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
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