Hello Dean -
At 16:27 +1100 30/10/00, Dean Brandt wrote:
> Hi,
>
> For some unknown reason we have a situation where AuthBy Platypus
>is not inserting this:
>
>Oct 30 00:58:34 contender ./radiusd[17533]: do query is: insert into
>radiusdat (username, callstart, callend, sessid
>) values ('rkl', 'Oct 30, 2000 06:30', 'Oct 30, 2000 11:58',
>'326010649' )
>
> ...for users in the default realm, but does insert it for users in
>one other realm.
>
> Here is our config:
>
># configure AuthBy PLATYPUS and AuthBy FILE
>
><AuthBy PLATYPUS>
> Identifier CheckPlatypus
> DBSource dbi:Sybase:xxx
> DBUsername xxxxxxx
> DBAuth xxxxxxx
></AuthBy>
>
><AuthBy FILE>
> Identifier CheckUsers
> Filename /etc/raddb/users
></AuthBy>
>
>
><Realm DEFAULT>
> AuthBy CheckUsers
></Realm>
>
><Realm xyz.net.au>
> RewriteUsername s/^([^@]+).*/$1/
> AuthBy CheckPlatypus
></Realm>
>
You have to tell Radiator what you want it to do. If you want it to
write all accounting requests to Platypus, you would do something
like this:
# configure AuthBy PLATYPUS and AuthBy FILE
<AuthBy PLATYPUS>
Identifier CheckPlatypus
DBSource dbi:Sybase:xxx
DBUsername xxxxxxx
DBAuth xxxxxxx
</AuthBy>
<AuthBy FILE>
Identifier CheckUsers
Filename /etc/raddb/users
</AuthBy>
<Handler Request-Type = Accounting-Request>
AuthBy CheckPlatypus
</Handler>
<Handler Realm = DEFAULT>
AuthBy CheckUsers
</Realm>
<Handler Realm = xyz.net.au>
RewriteUsername s/^([^@]+).*/$1/
AuthBy CheckPlatypus
</Realm>
hth
Hugh
--
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.