summaryrefslogtreecommitdiffstats
path: root/source/client
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-18 09:52:55 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-18 09:52:55 +0000
commit4c7163e7c2cc09bd95faa05156ee480957a7a4d8 (patch)
treea3e183c7c43a4320618d4a583f8660a80b60eb53 /source/client
parented245023016779700571d108e7b9339236bcbe7c (diff)
downloadsamba-4c7163e7c2cc09bd95faa05156ee480957a7a4d8.tar.gz
samba-4c7163e7c2cc09bd95faa05156ee480957a7a4d8.tar.xz
samba-4c7163e7c2cc09bd95faa05156ee480957a7a4d8.zip
Add an extra parameter to our 'set_remote_machine_name' and
'set_local_machine_name' so that the client can't change it from under us. (.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP on the domain join). Andrew Bartlett
Diffstat (limited to 'source/client')
-rw-r--r--source/client/smbmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/smbmount.c b/source/client/smbmount.c
index e2372d02b4e..98302485e43 100644
--- a/source/client/smbmount.c
+++ b/source/client/smbmount.c
@@ -398,7 +398,7 @@ static void send_fs_socket(char *the_service, char *mount_point, struct cli_stat
}
/* here we are no longer interactive */
- set_remote_machine_name("smbmount"); /* sneaky ... */
+ set_remote_machine_name("smbmount", False); /* sneaky ... */
setup_logging("mount.smbfs", False);
reopen_logs();
DEBUG(0, ("mount.smbfs: entering daemon mode for service %s, pid=%d\n", the_service, sys_getpid()));