From 4a58c640cce3b37d5eef62caddd15f64ef8befbe Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 28 Aug 2010 16:33:00 +0200 Subject: s3: Set the client_id in substitute.c once This never changes during a client connection's life, so we can set it once. --- source3/include/proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index e2d1c94e7b..37f4d19232 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -816,6 +816,8 @@ const char *get_remote_machine_name(void); void sub_set_smb_name(const char *name); void set_current_user_info(const char *smb_name, const char *unix_name, const char *domain); +void sub_set_socket_ids(const char *peeraddr, const char *peername, + const char *sockaddr); const char *get_current_username(void); void standard_sub_basic(const char *smb_name, const char *domain_name, char *str, size_t len); -- cgit