summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-28 16:33:00 +0200
committerVolker Lendecke <vl@samba.org>2010-08-29 21:55:23 +0200
commit4a58c640cce3b37d5eef62caddd15f64ef8befbe (patch)
treef39760fd4203157f2151d5d27364334752d5cd38 /source3/include
parent8d256b8f30e726bec6755712121840d3a4c9b620 (diff)
downloadsamba-4a58c640cce3b37d5eef62caddd15f64ef8befbe.tar.gz
samba-4a58c640cce3b37d5eef62caddd15f64ef8befbe.tar.bz2
samba-4a58c640cce3b37d5eef62caddd15f64ef8befbe.zip
s3: Set the client_id in substitute.c once
This never changes during a client connection's life, so we can set it once.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 2 insertions, 0 deletions
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);