diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-10-09 09:38:36 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-10-19 12:14:58 +0200 |
commit | 9b2a3ebf5cfb4613b117ebb83abe92b93e759381 (patch) | |
tree | ae4be9ef992116113fe814d194700e5624495b7a /source3/smbd/session.c | |
parent | 42b0398bdeae8fd7e8ae92ab3a464c3eba9fb0da (diff) | |
download | samba-9b2a3ebf5cfb4613b117ebb83abe92b93e759381.tar.gz samba-9b2a3ebf5cfb4613b117ebb83abe92b93e759381.tar.bz2 samba-9b2a3ebf5cfb4613b117ebb83abe92b93e759381.zip |
s3:smbd/utmp: remove ip address from utmp record
1. This was broken since Samba 3.2. when ipv6 support was
added, it only worked for ipv6 addresses.
2. userspace tools only display the hostname field.
3. This is not really portable
metze
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd/session.c')
-rw-r--r-- | source3/smbd/session.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/session.c b/source3/smbd/session.c index 47eafab979..e7e7570f40 100644 --- a/source3/smbd/session.c +++ b/source3/smbd/session.c @@ -179,7 +179,6 @@ bool session_claim(struct smbd_server_connection *sconn, struct user_struct *vus if (lp_utmp()) { sys_utmp_claim(sessionid.username, sessionid.hostname, - sessionid.ip_addr_str, sessionid.id_str, sessionid.id_num); } @@ -219,7 +218,6 @@ void session_yield(struct user_struct *vuser) if (lp_utmp()) { sys_utmp_yield(sessionid.username, sessionid.hostname, - sessionid.ip_addr_str, sessionid.id_str, sessionid.id_num); } |