summaryrefslogtreecommitdiff
path: root/source3/auth
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/auth
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/auth')
-rw-r--r--source3/auth/auth_util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 3ade220c0f..f914d91871 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -25,7 +25,6 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
-extern fstring remote_machine;
extern pstring global_myname;
/****************************************************************************
@@ -394,7 +393,7 @@ BOOL make_user_info_for_reply(auth_usersupplied_info **user_info,
ret = make_user_info_map(user_info, smb_name,
client_domain,
- remote_machine,
+ get_remote_machine_name(),
local_lm_blob,
local_nt_blob,
plaintext_password,
@@ -429,7 +428,7 @@ BOOL make_user_info_for_reply_enc(auth_usersupplied_info **user_info,
return make_user_info_map(user_info, smb_name,
client_domain,
- remote_machine,
+ get_remote_machine_name(),
lm_resp,
nt_resp,
no_plaintext_blob,