summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-11 02:30:35 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-11 02:30:35 +0000
commitdd5615c04241ec09e6b877a0670a957fa7702902 (patch)
tree62e27b18cd3e3bd717abbd4b2b1eb857b33544af /source3/smbd/reply.c
parent6ddba1e99b48afc53cf5bc7a2900279490c7a8f6 (diff)
downloadsamba-dd5615c04241ec09e6b877a0670a957fa7702902.tar.gz
samba-dd5615c04241ec09e6b877a0670a957fa7702902.tar.bz2
samba-dd5615c04241ec09e6b877a0670a957fa7702902.zip
Make 'remote_machine' private to lib/substitute.c, and fix all the user to use
the new accessor functions. Andrew Bartlett (This used to be commit f393de2310e997d05674eb7f1268655373e03647)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index a4ed770f31..dc49fe3e2e 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -38,7 +38,6 @@ extern pstring global_myname;
extern int global_oplock_break;
unsigned int smb_echo_count = 0;
-extern fstring remote_machine;
extern BOOL global_encrypted_passwords_negotiated;
@@ -108,7 +107,7 @@ int reply_special(char *inbuf,char *outbuf)
of possibly valid usernames if we are operating
in share mode security */
if (lp_security() == SEC_SHARE) {
- add_session_user(remote_machine);
+ add_session_user(get_remote_machine_name());
}
reload_services(True);