Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: Fwd: Re: cron and NT domains
References: <20020723104728.A13588@cygbert.vinschen.de>
From: Don Dwiggins <dond@advancedmp.com>
Date: 23 Jul 2002 08:43:09 -0700
In-Reply-To: <20020723104728.A13588@cygbert.vinschen.de>
Message-ID: <u65z678mq.fsf@advancedmp.com>
Lines: 23
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-OriginalArrivalTime: 23 Jul 2002 15:43:10.0031 (UTC) FILETIME=[A58935F0:01C2325F]

Corinna Vinschen writes:
> On Mon, Jul 22, 2002 at 07:23:30PM -0700, David MacMahon wrote:
>> So are you saying that IF one is running Win 2K or XP AND using an
>> active directory server AND the active directory server is configured to
>> disallow anonymous access, THEN cygwin apps like cron and sshd are
>> unable to switch user context to a domain user without a password?

...

> I'm thinking about a small patch which would allow you to work with only
> the user data given in /etc/passwd and /etc/group to change user context.

FWIW, from my playing around with cron, it seems that it _does_ switch
context to a domain user -- sort of.  In particular, doing an "id" in the
script started by cron showed me the domain user's uid and SYSTEM's gid;
however, the script couldn't mount a network drive with "net use" unless the
password was supplied.  It seems as though you're a domain user, but with
only access to the local machine.
--

Don Dwiggins                     "The truth will make you free,
d.l.dwiggins@computer.org         but first it will make you miserable"
                                  -- Tom DeMarco


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

