delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/20/15:24:26

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 20 Aug 2008 21:25:38 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: csih-0.1.7-1
Message-ID: <20080820192536.GA29104@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 48A789B6 DOT 3010103 AT cwilson DOT fastmail DOT fm> <48A78C6F DOT 2050403 AT cwilson DOT fastmail DOT fm> <20080820134209 DOT GN29104 AT calimero DOT vinschen DOT de> <48AC47CC DOT 4060308 AT cwilson DOT fastmail DOT fm> <20080820174649 DOT GW29104 AT calimero DOT vinschen DOT de> <48AC69A7 DOT 30902 AT cwilson DOT fastmail DOT fm>
MIME-Version: 1.0
In-Reply-To: <48AC69A7.30902@cwilson.fastmail.fm>
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 Aug 20 14:59, Charles Wilson wrote:
> Corinna Vinschen wrote:
> > In the long run, it would be cool if the script would be domain aware,
> > of course, but there might be some tweaking of tools necessary before
> > we can do that.
> 
> Yes, but I'm afraid I will be completely at the mercy of PTC for that,
> as I have no access to a domain server.

What about just installing Windows 2008 as domain controller?

  http://technet.microsoft.com/en-us/evalcenter/cc137123.aspx

How to extend the trial period to 240 days:

  http://support.microsoft.com/?scid=kb%3Ben-us%3B948472&x=8&y=6

> > Other than that, I think it looks good now.  I attached a patch to
> > accomplish the above.
> 
> I've applied a variant of your patch. Main difference:
> 
> Rather than this:
> -    [ "x${unpriv_user_in_passwd}" = "xyes" -a "x${unpriv_user_in_sam}"
> = "xyes" ] && return 0
> +    [ "x${unpriv_user_in_passwd}" = "xyes" -o "x${unpriv_user_in_sam}"
> = "xyes" ] && return 0
> 
> 
> I did this:
> +    [ "x${unpriv_user_in_passwd}" = "xyes" ] && return 0
> 
> (a) if it was already in passwd, we want to return 0
> (b) else if it was already in SAM, we've added it to passwd and set this
> variable.
> (c) else if it didn't exist at all, we've created the user AND added it
> to passwd, and set this variable.
> 
> Basically, by this point a valid user ought to be in /etc/passwd. If
> not, THAT is the error.
> 
> I'll roll 0.1.8 momentarily. (Hoping no brown-bags...)

Cool, thanks!


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