1.1.8: login 1.4 problem, sshd problem (Win2k and NT): invalid password

Martin Lenze martin.lenze@to.com
Wed Feb 7 15:34:00 GMT 2001


Hi,
I've got problems with login and sshd on win2k and NT 4.0.
If I try to login via ssh or with login to localhost I get "Invalid
password" error, even when trying to log on to localhost.
Both machines I have tested with are not  belonging to any domain, so
authentication should be local.

Reading through the source of login 1.4 I found, that "HANDLE hToken =
cygwin_logon_user( pwd, pp);"
returns a true condition for the following if case "if ( hToken !=
INVALID_HANDLE_VALUE)."

But passwords are o.k. and /etc/passwd is also (rewritten with
mkpasswd) regarding correct "SID"-Values comma seperated after the
user name in the comment field.

This seems to have been working with an older version of cygwin1.dll
as I had "sshd" installed as single application beforehand with an
older cygwin1.dll which I found here:
http://marvin.criadvantage.com/caspian/Software/SSHD-NT/default.php

I'm sorry, but I do not have the time to search for the bug and my C
programming knowledge is not good enough, to supply a patch already.

M. Lenze
---------------------------------------------------------------
Thinking Objects Software GmbH              martin.lenze@to.com
Kranstr. 8, 70499 Stuttgart, Germany          +49 711 838981-50
fax +49 711 838981-69 cel. +49 170 7917721 home +49 6221 618036

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: text/x-algol68
Size: 7724 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20010207/9a69e71a/attachment.bin>


More information about the Cygwin mailing list