On 18/01/11 23:20, Александр Поляков wrote:
> Hi,
> Now, I use new version of TelnetImpl.java "with more meaningful messages and
> logs what is going on at debug level".
>

OK, someone has given me a clean Windows XP SP3 VM, I've turned telnet 
on and run tests against it.

-from my desktop, the SF telnet component will telnet in to an XP telnet 
session, provided the username and password are set up.

-I've improved the error message and diagnostics. If the telnet login fails
  1. the username is included in the error message
  2. the password length is included (but not its value)
  3. the output of the remote server is returned
  4. the likely causes of failure are all listed.

You'll get something back like

Termination Record: HOST localhost:rootProcess:testWindowsTelnet, type: 
abnormal, description: Failure during startup
SmartFrogLifecycleException:: Unable to login in remote machine 
xp01-vif0:23 cause: User "User14" was not known, their password was 
invalid or the shell prompt ">" was not found. Password details: 
password length 6
remote server log:
Logon failure: unknown user name or bad password.

Login Failed


login: , SmartFrog 3.18.007dev (2011-01-17 12:07:04 GMT), data: Failed 
object class: org.smartfrog.services.net.TelnetImpl, primSFCompleteName: 
HOST

Try this, let's see what happens. All I can do next is add an option to 
include the password in the response, as we've pretty much exhausted the 
options. All that is happening is that the component is reading in the 
input bytes, converting them to a string (conversion problems?) and then 
looking for the expected prompt, which can be any string.

-steve

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Smartfrog-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartfrog-users

Reply via email to