(RADIATOR) Multiple databases (file) for the users
Hugh Irvine
hugh at open.com.au
Wed Jan 23 20:28:40 CST 2002
Hello Davidson -
Currently the only way to do this is with a trace 4 debug level set of your
log file. You could also do it with a combination of hooks, AuthBy INTERNAL
and AuthBy GROUP - if you want to persue that idea there are some example
hooks in the file "goodies/hooks.txt".
regards
Hugh
On Wed, 23 Jan 2002 23:38, dthaba at uunet.co.ke wrote:
> BTW...a notice a small problem...
> If a user who is in groupA enters a wrong password, the logs indicate "No
> such a user"
> Looks like the second file is checked and if user not there assumes no such
> a user...
> I would want to log "Bad Password" in such cases...
>
> Please help
>
> ----- Original Message -----
> From: Hugh Irvine <hugh at open.com.au>
> To: Davidson Thaba <dthaba at ke.uu.net>; <radiator at open.com.au>
> Sent: Wednesday, January 23, 2002 10:56 AM
> Subject: Re: (RADIATOR) Multiple databases (file) for the users
>
> > 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.
--
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