summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-10-09 09:38:36 +0200
committerMichael Adam <obnox@samba.org>2012-10-19 12:14:58 +0200
commit9b2a3ebf5cfb4613b117ebb83abe92b93e759381 (patch)
treeae4be9ef992116113fe814d194700e5624495b7a /source3/smbd/proto.h
parent42b0398bdeae8fd7e8ae92ab3a464c3eba9fb0da (diff)
downloadsamba-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/proto.h')
-rw-r--r--source3/smbd/proto.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 809074c6f7..f1b359f917 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -1112,11 +1112,9 @@ uint64_t get_current_vuid(connection_struct *conn);
/* The following definitions come from smbd/utmp.c */
void sys_utmp_claim(const char *username, const char *hostname,
- const char *ip_addr_str,
- const char *id_str, int id_num);
+ const char *id_str, int id_num);
void sys_utmp_yield(const char *username, const char *hostname,
- const char *ip_addr_str,
- const char *id_str, int id_num);
+ const char *id_str, int id_num);
/* The following definitions come from smbd/vfs.c */