Hello Angel -
On Fri, 11 Jan 2002 09:41, Angel Bustos wrote: > Hi all again, > > I have trying with 2 realms: realmA and realmB > I´ve defined 2 different SessionDatabase names > When I invoke radwho.cgi I cannot isolate realm A and realmB to eventually > show to 2 different hypothetical customers. > radwho.cgi shows ALL the online users (realms A and B) > I´m beginning with DBM SessionDatabase. > What is wrong in my settings? > > thanks in advance! > > > <Handler Realm=realmA> > AuthByPolicy ContinueAlways > AuthBy SQLAccounting > AuthBy DBRealmA > AcctLogFileName %L/realmA-%Y%m%d > SessionDatabase realmA <============ > PasswordLogFileName %L/realmA/passlog-%Y%m%d > </Handler> > > <Handler Realm=realmB> > AuthByPolicy ContinueAlways > AuthBy SQLAccounting > AuthBy DBRealmB > AcctLogFileName %L/realmB-%Y%m%d > SessionDatabase realmB <============ > PasswordLogFileName %L/realmB/passlog-%Y%m%d > </Handler> > > > <SessionDatabase DBM> > Filename %D/online-users > Identifier realmA <=======(here realmB has the same effect) > </SessionDatabase> > You should do something like this: # define Handlers for each Realm <Handler Realm=realmA> AuthByPolicy ContinueAlways AuthBy SQLAccounting AuthBy DBRealmA AcctLogFileName %L/realmA-%Y%m%d SessionDatabase realmA PasswordLogFileName %L/realmA/passlog-%Y%m%d </Handler> <Handler Realm=realmB> AuthByPolicy ContinueAlways AuthBy SQLAccounting AuthBy DBRealmB AcctLogFileName %L/realmB-%Y%m%d SessionDatabase realmB PasswordLogFileName %L/realmB/passlog-%Y%m%d </Handler> # define session database for each Realm <SessionDatabase DBM> Filename %D/online-realmA Identifier realmA </SessionDatabase> <SessionDatabase DBM> Filename %D/online-realmB Identifier realmB </SessionDatabase> 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 [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.