www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/09/04:08:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 9 Mar 2008 10:07:29 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: csih and sspi with guest accounts
Message-ID: <20080309090729.GA18399@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <47CE07A2 DOT 5030505 AT cwilson DOT fastmail DOT fm> <47CEE4DD DOT 6030608 AT x-ray DOT at> <47D2F243 DOT 4090309 AT x-ray DOT at> <47D39192 DOT 2020801 AT cwilson DOT fastmail DOT fm> <47D3979F DOT 11360D27 AT dessent DOT net>
MIME-Version: 1.0
In-Reply-To: <47D3979F.11360D27@dessent.net>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mar  8 23:54, Brian Dessent wrote:
> Charles Wilson wrote:
> 
> > note that Vista and Server 2008 both report "CYGWIN_NT-6.0", so I don't
> > really have a good way of distinguishing between them.
> 
> FWIW, Microsoft says the way to determine 2k8 from Vista is by checking
> if wProductType contains VER_NT_WORKSTATION:
> <http://msdn2.microsoft.com/en-us/library/ms724833.aspx>.  Cygwin
> already does this internally for wincap and so wincap.is_server ()
> should be true for 2k8, but I don't think this is accessible by any
> public uname-like interface.
> 
> cygcheck also does this for the "-s" output, so grepping that would also
> be an option to distinguish 2k8 if it's really necessary, although
> cygcheck -s is very slow as it has to search a bunch of path stuff so I
> don't think that's all that useful.

cygcheck only recognizes 2008 in CVS HEAD.  The 1.5.25 version only
recognizes Vista/Longhorn by the major version number.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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