----- Original Message -----
From: "Mike McCauley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 24, 2000 7:53 AM
Subject: (RADIATOR) Auth by LDAP but accounting by mySQL
>
> I am using LDAP for authentication. Right now the accounting information
is
> on flat detail files. I would like to push these accounting info into an
> external database, while still have LDAP to do the authenticatio. I am
> using mySQL. Hope would I do that?
Configure an
<Handler>
AuthByPolicy ContinueAlways
<AuthBy Sql>
AuthSelect
....
</AuthBy>
<AuthBy LDAP>
...
</AuthBy>
</Handler>
The tricks are the ContinueAlways so it does both AuthBys no matter
what the first one returns, and the use of the Empty AuthSelect statement
in the Sql block, so that no username pass lookups will be done, just
logging
of accounting information. The actual username/pass lookups will still be
done
by the AuthBy LDAP as well as whatever flat file logging its configured to
do.
--------------------------------------------------------------------------
Ron Hensley ([EMAIL PROTECTED]) CCNA #10082337
Network Administrator - ICNet Internet Services
--------------------------------------------------------------------------
===
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.