On Tuesday 27 Jul 2010, Gideon Romm wrote:
> This is more a limitation of the implementation than a bug and is well
> known by the developers. The problem stems from the fact that all LDM
> does is wrap around an ssh call, and ssh lacks a proper library to
> interact with it in a more meaningful way. Basically, LDM collects the
> username and password you give it, runs "ssh ... u...@server", waits
> for a response with a ":" (because scraping a password prompt varies
> by language), feeds the password, and hopes to connect. If the
> connection fails, LDM really has no clue if it is because you typed in
> the wrong password or you could not connect to the server for some
> other reason. You are simply denied.
>
> There have been many different attempts on the development side to fix
> this in a language-independent way. There has been some work with a
> rather new library called "libssh", there has been work on
> restructuring LDM, etc, etc. I know that Scotty (sbalneav) was leading
> the charge in this area, but I also know that he has been pulled away
> in other directions and has had less time to work on LTSP.
>
> This is one of those "annoyances" that needs some good developer time
> to sort out properly. Unfortunately, developer time for such things is
> more scarce these days.
>
> Hope that clears up why this happens, and consider it a call for more
> brains on deck.

I really appreciate the feedback Gadi!  I suppose an interim solution might be 
a different error message e.g. "authentication failure", which would be true 
in either case and more intuitive in the vast majority of cases where it is 
simply a password issue.

-- 
Chris Roberts

+------------------+--------------------------+
|     Distribution | Debian Lenny             |
|     LTSP Version | 5.2.2-1~bpo50+1          |
|      LDM Version | 2:2.1.2-1~bpo50+1        |
|  Windows Manager | KDE 3.5.10               |
|           Kernel | 2.6.32-bpo.5-686-bigmem  |
+------------------+--------------------------+
|     Distribution | Debian Lenny             |
|     LTSP Version | 5.2.2-1~bpo50+1          |
|      LDM Version | 2:2.1.2-1~bpo50+1        |
|  Windows Manager | KDE 3.5.10               |
|           Kernel | 2.6.26-2-686             |
+------------------+--------------------------+

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to