15 Aug
2005
15 Aug
'05
12:31 a.m.
On Sun, 2005-08-14 at 13:12 +0200, Sebastjan Trepca wrote:
I am wondering if it's possible to authenticate users that come from specific IP differently then other users.
I will be authenticating them by postgresql so something like this would be very useful:
password_query = SELECT password from get_user('%username','%host')
Is that possible? Can it be done any other way?
%r - remote IP address
so get_user('%u', '%r') should work. With 1.0-stable/tests only.