This is the mail archive of the
mailing list for the Cygwin project.
Re: Initial patch to implement partial auth with SSH2
- To: cygwin at cygwin dot com
- Subject: Re: Initial patch to implement partial auth with SSH2
- From: "Karl M" <karlm30 at hotmail dot com>
- Date: Fri, 20 Apr 2001 07:32:39 -0700
I was thinking...for the CygWin environment (on WinNT and Win2k) we could
avoid the problem of where to place a new call to check_nt_auth and
auth_password by requiring that if the ssh and sshd user-ids are different,
that password authentication is required (which was the reason I was
interested in this in the first place). I can do that for now by using
and commenting out the check in userauth_publickey.
>From: Corinna Vinschen <firstname.lastname@example.org>
>To: email@example.com, firstname.lastname@example.org
>Subject: Re: Initial patch to implement partial auth with SSH2
>Date: Fri, 20 Apr 2001 13:13:54 +0200
>On Fri, Apr 20, 2001 at 01:29:42AM -0700, Karl M wrote:
> > Hi All...
> > I've been experimenting with the partial authorization patch for
> > OpenSSH-2.5.2. I'm using CygWin on a Windows 2000 (SP1) box.
> > I noticed a bug in the patch that shows up for CygWin users. The problem
> > that publickey authentication only works if sshd is running with the
> > user-id as the ssh client. When I run sshd as a service with a user-id
> > LocalSystem publickey authentication fails.
> > This is because the check_nt_auth call in userauth-pubkey fails if the
> > user-id is different from the sshd user-id.
> > It looks to me like userauth_pubkey needs to "suspend disbelief" (and
> > call check_nt_auth and auth_password) for partial authentication, in the
> > hope that a password may come later. Then somewhere check_nt_auth
> > auth_password need to be called to make sure that we don't forget to set
> > sshd user-id to the ssh user-id.
>Since the original partial authorization patch isn't applied yet,
>you're somwhat on your own. Why don't you simply override the
>check in `check_ntsec' for now?
>Red Hat, Inc.
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple
Get your FREE download of MSN Explorer at http://explorer.msn.com
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple