[PATCH]: Drop the use of `check_nt_auth'.

Corinna Vinschen vinschen at redhat.com
Thu May 24 00:16:48 EST 2001


On Wed, May 23, 2001 at 09:29:43PM +1000, Damien Miller wrote:
> On Wed, 23 May 2001, Corinna Vinschen wrote:
> 
> > Hi,
> >
> > the following patch removes some of the Cygwin specific code from
> > OpenSSH.
> >
> > Since Cygwin is able to change the user context on NT/W2K even without
> > a password since the new Cygwin version 1.3.2, there's no need anymore
> > to allow changing the user context only if the sshd user is the same
> > user as the one which logs in or when a password is given.
> >
> > For that reason the whole function `check_nt_auth' and all code which
> > uses it, is completey dropped in the following patch.
> 
> Could you add a configure test to ensure that the support for this
> extension is available in the version of Cygwin that the user is
> compiling against?

Hmm, yes, but...

would it be better to let the check_nt_auth functionality in but
additionally check for the Cygwin version in the function
to return an appropriate value (Cygwin >= 1.3.2 ==> return TRUE),
perhaps?

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com



More information about the openssh-unix-dev mailing list