When possible, store the IP address of the connecting client, not just the
authorAndrew Bartlett <abartlet@samba.org>
Thu, 24 Apr 2003 09:52:29 +0000 (09:52 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 24 Apr 2003 09:52:29 +0000 (09:52 +0000)
commit596de71fc60b622d7a9d5e12baf234db0bf22499
tree3b7ad2e4a2fce6bc1ffc9142716477ccdaa35802
parent29133d967761908a0f1492c1b907350a076f4a01
When possible, store the IP address of the connecting client, not just the
hostname.

This makes 'last -i' show the IP.

Thanks to Philip Anderson <pza@australia.op.org> for the idea.

Andrew Bartlett
(This used to be commit 107731c080da1e3e4e13e966f8b79bfd2692a952)
source3/lib/util_sock.c
source3/smbd/session.c
source3/smbd/utmp.c