Mail Archives: cygwin-developers/2002/07/15/08:51:41

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Mon, 15 Jul 2002 08:50:52 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: Corinna or Pierre please comment? [jason AT tishler DOT net: Re: setuid()
problem when disconnected from PDC under 1.3.12-2]
In-reply-to: <>
To: cygwin-developers AT cygwin DOT com
Mail-followup-to: cygwin-developers AT cygwin DOT com
Message-id: <>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20020713165415 DOT GB30143 AT redhat DOT com>
<20020715110733 DOT B6932 AT cygbert DOT vinschen DOT de>


On Mon, Jul 15, 2002 at 11:07:33AM +0200, Corinna Vinschen wrote:
> So, basically the current implementation is more correct than the old
> implementation.  I don't see how to make it better.

But, the current implementation causes sshd and cron to fail for domain
users when their server is disconnected from its PDC.  IMO, this is not

> [snip]
> We *could* change it this way to succeed more often:
>   GetPDC();
>   if (has_pdc)
>     {
>       get_domain_groups_of_account();
>       get_local_groups_of_account();
>       if (!has_primary_group)
> 	get_primary_group_of_account();
>     }
>   if (!has_primary_group)
>     get_primary_group_from_etc_passwd();
>   get_supplementary_groups_from_etc_group();
> That could leave you with a somewhat restricted token, though.

I haven't fully evaluated the above ramifications, but IMO, some
relaxation of the current implementation is needed.

What do others think?


- Raw text -

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