summaryrefslogtreecommitdiff
path: root/source3/wrepld
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
commitcdc6fc8acb24645ccd0f2862741c9ea9e1c02829 (patch)
tree95656003f6e226490d9605f69190dad8022e2dab /source3/wrepld
parent50eea935161f0c2b5122d9bea5c95eced0a3c485 (diff)
downloadsamba-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/wrepld')
-rw-r--r--source3/wrepld/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wrepld/server.c b/source3/wrepld/server.c
index 349f2a21ab..31f260e94c 100644
--- a/source3/wrepld/server.c
+++ b/source3/wrepld/server.c
@@ -619,7 +619,7 @@ static void process(void)
lp_set_logfile(logfile);
}
- set_remote_machine_name("wrepld");
+ set_remote_machine_name("wrepld", False);
setup_logging(argv[0],log_stdout);