Barry Flanagan a écrit :
Alain NAKACHE wrote:
Barry Flanagan a écrit :

Alain NAKACHE wrote:

Hi Sam,

Here's a small patch which allow to transmit extra informations to the authlib daemon.

TCPREMOTEIP and TCPLOCALIP (if they are defined) are appended at the end of an AUTH cmd.


Would these variables then be available in the config file? For example, to include in the SQL statement?

-Barry

You didn't understand what this patch is used for.

Perhaps


It is used to allow an authlib client to transmit these vars to the authlib daemon.

Yes,


Then your authlib daemon method (say authlib-pipe) can extract these vars from the AUTH cmd and apply restrictions or enhance logging.


what I want to do is to be able to extract these vars in the mysql authlib method, and use it in my SQL statement. Would this be possible?



No

You have to patch the mysql authlib daemon




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to