delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,FB_WORD1_END_DOLLAR,MSGID_FROM_MTA_HEADER |
X-Spam-Check-By: | sourceware.org |
Message-Id: | <012d10$4ord2o@dmzms99801.na.baesystems.com> |
X-SENDER-IP: | 10.37.193.66 |
X-SENDER-REPUTATION: | None |
X-SENDER-IP: | 10.44.64.11 |
X-SENDER-REPUTATION: | None |
From: | "Cooper, Karl (US SSA)" <karl DOT cooper AT baesystems DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Date: | Fri, 22 Jan 2010 07:59:19 -0500 |
Subject: | RE: Differentiate workgroup system from domain member under Cygwin |
In-Reply-To: | <4B599CCE.7040901@netcourrier.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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 |
> Corinna Vinschen wrote: >> On Jan 22 10:34, Christoph Herdeg wrote: >>=20 >>> 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?=20 >>>=20 >>=20 >> There are certainly multiple methods to fetch this information. One >> of them is, for instance:=20 >>=20 >> bash$ net config workstation | grep -q 'Domain DNS' \ >> && echo domain-member || echo standalone-machine >>=20 >>=20 >> Corinna >>=20 > Of course you should be aware that localization kicks in. On a French > Win Server 2k3 machine I get "Nom DNS du domaine de la station de > travail"=20=20 And for me, it is necessary to use "Workstation" (capital W) rather than "w= orkstation". -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |