Hello Mike -
On Thu, 01 Jun 2000, Mike Nerone wrote:
>
> Hugh,
>
> In answer to another person's question, you mentioned doing SQL
accesses from within a PostAuthHook. Can I use the database handle that my
AuthBy clause already has open, or do I have to manage my own handle? Either
way, can you give me a line or two of code that shows an example of how I would
do it (it doesn't have to be a useful example...just give me a ->prepare(), and
a connect() if I have to manage my own).
>
> If I can use AuthBy's handle,
then what happens if I try to do that in a PreClientHook, or a PreAuthHook, or
any other time when the handle has not been connected yet? Is there a way I can
call the AuthBy and make it connect? Like an autoconnect? If I do have to
manage my own handle, can I at least make it persistent?
I think the answer here is going to depend on what you are trying to do. Could
you describe your requirements in more detail please?
thanks
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.