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