diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-18 09:52:55 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-18 09:52:55 +0000 |
commit | cdc6fc8acb24645ccd0f2862741c9ea9e1c02829 (patch) | |
tree | 95656003f6e226490d9605f69190dad8022e2dab /source3/client | |
parent | 50eea935161f0c2b5122d9bea5c95eced0a3c485 (diff) | |
download | samba-cdc6fc8acb24645ccd0f2862741c9ea9e1c02829.tar.gz samba-cdc6fc8acb24645ccd0f2862741c9ea9e1c02829.tar.bz2 samba-cdc6fc8acb24645ccd0f2862741c9ea9e1c02829.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
(This used to be commit 4c7163e7c2cc09bd95faa05156ee480957a7a4d8)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/smbmount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index e2372d02b4..98302485e4 100644 --- a/source3/client/smbmount.c +++ b/source3/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())); |