delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/07/18:55:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 8 Feb 2001 00:54:18 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.1.8: login 1.4 problem, sshd problem (Win2k and NT): invalid password
Message-ID: <20010208005418.I23481@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000a01c0915e$7b5e8800$0307a8c0 AT ltml>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <000a01c0915e$7b5e8800$0307a8c0@ltml>; from martin.lenze@to.com on Thu, Feb 08, 2001 at 12:34:14AM +0100

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 AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019