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 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: <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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/