delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/22/05:07:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,FB_WORD1_END_DOLLAR,SPF_PASS
X-Spam-Check-By: sourceware.org
In-Reply-To: <20100122094944.GM2402@calimero.vinschen.de>
References: <889F761889B73C489CED80057EEE29DF032B5AD3 AT spsmail DOT prosozial DOT lokal> <20100120154611 DOT GA23663 AT ednor DOT casa DOT cgf DOT cx> <OF89C27922 DOT 50D14C8F-ONC12576B3 DOT 002E8460-412576B3 DOT 002ED404 AT de DOT ibm DOT com> <20100122092056 DOT GJ2402 AT calimero DOT vinschen DOT de> <OF64A532B4 DOT 0C15EAAB-ONC12576B3 DOT 0033C47A-412576B3 DOT 0034A40C AT de DOT ibm DOT com> <20100122094944 DOT GM2402 AT calimero DOT vinschen DOT de>
Subject: Re: Differentiate workgroup system from domain member under Cygwin
X-KeepSent: 406ACB84:6ABC1D54-C12576B3:00371FDA; type=4; name=$KeepSent
To: cygwin AT cygwin DOT com
Message-ID: <OF406ACB84.6ABC1D54-ONC12576B3.00371FDA-412576B3.00378AB4@de.ibm.com>
From: Christoph Herdeg <christoph DOT herdeg AT de DOT ibm DOT com>
Date: Fri, 22 Jan 2010 11:06:40 +0100
MIME-Version: 1.0
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 Jan 22 10:34, Christoph Herdeg wrote:
>> So question is more if there is any place on a windows system, a file or
a
>> directory or an entry in a file that exists only if that machine is a
>> domain member?
>
>There are certainly multiple methods to fetch this information.  One of
>them is, for instance:
>
>  bash$ net config workstation | grep -q 'Domain DNS' \
>            && echo domain-member || echo standalone-machine
>
>
>Corinna

Great! Works just perfect. Thank you very much!!!

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

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





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

- Raw text -


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