(RADIATOR) Accounting in sql and local file authentication
Luis Marquez
luism at digitalpath.net
Thu Mar 11 11:38:37 CST 2004
Hello everyone,
I am trying to get radiator to authenticate users from a local users
file and send accounting data to our Oracle 9i database. This config is
currently on a non production test system. I have two authby clauses,
one <AuthBy FILE> and one <AuthBySQL>. I have a handler set up that I
think is supposed to send accounting data to the database while still
authenticating against the local file. I can connect to the database,
but I can't authenticate from the local file.
Seems like radiator does not continue on to the AuthBy FILE clause. From
what I read in another post, the AuthByPolicy ContinueAlways inside the
handler is supposed to do this?
Any advice would be greatly appreciated.
Thanks,
Luis
Here are the relevant parts of my config:
#Default Realm
<Realm DEFAULT>
<AuthBy FILE>
AutoMPPEKeys yes
Filename %D/static/users
</Authby>
AcctLogFileName %L/detail
</Realm>
<Realm blahblah.com>
RewriteUsername tr/A-Za-z0-9_.+&-@//cd
<AuthBy SQL>
Identifier Remote-SQL
DBSource dbi:Oracle:dbname
DBUsername username
DBAuth pword
# Disable authentication
AuthSelect
# But do accounting
AccountingTable ACCOUNTING
AcctColumnDef USERNAME,User-Name
TIME_STAMP,Timestamp,interger
</AuthBy>
<AuthBy FILE>
Identifier Local-File
Filename %D/users
# Generate MPPE keys to encrypt pptp vpns
AutoMPPEKeys Yes
</AuthBy>
<Handler Request-Type = Accounting-Request>
AuthByPolicy ContinueAlways
AuthBy Remote-SQL
AuthBy Local-File
</Handler>
# Log accounting to the detail file in LogDir
AcctLogFileName %L/detail
</Realm>
--
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