This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: 1.1.8: login 1.4 problem, sshd problem (Win2k and NT): invalid password
- To: cygwin at cygwin dot com
- Subject: Re: 1.1.8: login 1.4 problem, sshd problem (Win2k and NT): invalid password
- From: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Thu, 8 Feb 2001 00:54:18 +0100
- References: <000a01c0915e$7b5e8800$0307a8c0@ltml>
On Thu, Feb 08, 2001 at 12:34:14AM +0100, Martin Lenze wrote:
> 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.
Did you read /usr/doc/Cygwin/openssh-2.3.0p1.README?
Don't forget to set the user rights of the user starting the
application which tries to change the user context (sshd,
login) according to the above documentation. A similar hint
is in /usr/doc/Cygwin/inetutils-1.3.2.README.
Then I suggest reading the online user docs http://cygwin.com/docs.html
and especially the corresponding part in the NTSEC chapter
http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple