From eb67d9f5c93c79d326f51674b7e756c58d897eb2 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Thu, 28 Feb 2002 18:26:57 +0000 Subject: [PATCH] doc improvements git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271606 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/OptionalTasks/telnet.html | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/docs/manual/OptionalTasks/telnet.html b/docs/manual/OptionalTasks/telnet.html index 1352c1f81..70b43d47d 100644 --- a/docs/manual/OptionalTasks/telnet.html +++ b/docs/manual/OptionalTasks/telnet.html @@ -10,11 +10,14 @@

Telnet

Description

Task to automate a remote telnet session. The task uses -nested <read> to indicate strings to wait for, and -<write> tags to specify text to send. +nested <read> to indicate strings to wait for, and +<write> tags to specify text to send.

If you do specify a userid and password, the system will assume a common unix prompt to wait on. This behavior can be easily over-ridden.

+

Note: This task depends on external libraries not included in the Ant distribution. +See Library Dependencies for more information.

+

Parameters

@@ -102,7 +105,9 @@ This task can be rewritten as: </telnet> -A timeout can be specified at the <telnet> level or at the <read> level. This will connect, issue a sleep command that is suppressed from displaying and wait 10 seconds before quitting. +A timeout can be specified at the <telnet> level or at the <read> level. +This will connect, issue a sleep command that is suppressed from displaying and wait +10 seconds before quitting.
 <telnet userid="bob" password="badpass" server="localhost" timeout="20">
    <read>/home/bob</read>
@@ -120,8 +125,14 @@ The task can be used with other ports as well:
    <read timeout="10">&lt;/HTML&gt;</read>
 </telnet>
 
+

+To use this task against the WinNT telnet service, you need to configure the service to use +classic authentication rather than NTLM negotiated authentication. +This can be done in the Telnet Server Admin app: +select "display/change registry settings", then "NTLM", then set the value of NTLM to 1. +


-

Copyright © 2001 Apache Software Foundation. All rights +

Copyright © 2001-2002 Apache Software Foundation. All rights Reserved.