Beast wrote:
Look into max_user_ip and authenticate_ip_ttl. If you want to limit where each user can log in from, that is doable with ACLs.Henrik Nordstrom wrote:On Thu, 2006-08-10 at 14:57 +0700, Beast wrote:Is there any way to log client's IP from within a helper program.Not from within auth helpers no. The data isn't send there as the authentication scheme cache does not account for the client IP, only the login+password so having the IP sent would confuse some helper authors into thinking that the IP could be used as part of the authentication process.Thanks.However, it would be a usefull feature if we could use IP, username/password pair to authenticate user, so user could only use one username from one IP.--beast
Chris