Re: IP address of remote host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2003-01-14 at 16:42, Jim Potter wrote:
> Hi All, 
Hi,

>    I've been trying to write a PAM module that checks users against
> the list of users currently logged on to Samba, and I can't find any
> good way of getting the IP address of the host they are loggin in from
> - PAM_RHOST returns the hostname rather than an IP address. 
>    Is there a PAM_ITEM or anything with the IP address in?

I am interested in this too, since I want to write a one time password
pam module, that will only work from some ip addresses.

The idea is to allow users logging in from the lan to use their standard
password and force those coming from the wan to use otp's

regards
	Stefan

-- 
--------------------------------------------------------------------
Stefan Völkel                            stefan.voelkel@xxxxxxxxxxxx
Millenux GmbH                              mobile: +49.170.79177.17
Lilienthalstraße 2                          phone: +49.711.88770.300
70825 Stuttgart-Korntal                       fax: +49.711.88770.349
     -= linux without limits -=- http://linux.zSeries.org/ =-

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux