From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9700 invoked by alias); 30 Jul 2014 16:33:37 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9684 invoked by uid 89); 30 Jul 2014 16:33:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-13.arcor-online.net Received: from mail-in-13.arcor-online.net (HELO mail-in-13.arcor-online.net) (151.189.21.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 30 Jul 2014 16:33:33 +0000 Received: from mail-in-05-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mx.arcor.de (Postfix) with ESMTP id 8FA7C12611E for ; Wed, 30 Jul 2014 18:33:29 +0200 (CEST) Received: from mail-in-18.arcor-online.net (mail-in-18.arcor-online.net [151.189.21.58]) by mail-in-05-z2.arcor-online.net (Postfix) with ESMTP id 8A57B132039 for ; Wed, 30 Jul 2014 18:33:29 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-18.arcor-online.net 735313DC33B Received: from Rainer.invalid (pD9EB17C6.dip0.t-ipconnect.de [217.235.23.198]) (Authenticated sender: stromeko@arcor.de) by mail-in-18.arcor-online.net (Postfix) with ESMTPSA id 735313DC33B for ; Wed, 30 Jul 2014 18:33:29 +0200 (CEST) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: Simplify AD integration? References: <20140730134716.GM25860@calimero.vinschen.de> <20140730150100.GO25860@calimero.vinschen.de> Date: Wed, 30 Jul 2014 16:33:00 -0000 In-Reply-To: <20140730150100.GO25860@calimero.vinschen.de> (Corinna Vinschen's message of "Wed, 30 Jul 2014 17:01:00 +0200") Message-ID: <87ppgmkdrj.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2014-07/txt/msg00349.txt.bz2 Corinna Vinschen writes: > I'm not sure if that would work as expected. Cygwin explicitely tests > if the account name follows the current rule. I'm not so sure what > effects it would have, if getpwnam could return another username as > the one given as parameter (apart from the case difference). That could be a problem if an application checks for that, but then there's only a handful of cases where you'd want to use an explicitly prefixed user or group name. > (and defuse the booby trap in chown). > > Well, hmm. If we allow to specify "NT AUTHORITY+SYSTEM" or > "BUILTIN+Administrators" even in "auto" or "primary" mode... > > Unfortunately this won't help in all cases. I used a broken example :( > The "LOCAL" account and a few others have NO domain. Thus, they are > simply +-prefixed ("+LOCAL"), even in 'db_prefix: always' mode. We could invent one, for the sole reason to escape the leading "+". > Tricky. Certainly=E2=80=A6 >> If you keep it, then there's an obvious candidate missing: "local+other", >> which should prefix all accounts except the primary domain ones. > > Do you mean > > builtin accounts; "NT AUTHORITY+SYSTEM", "BUILTIN+Administrators", ... > primary domain "corinna", "cgf", ... > other domain: "DOMAIN1+walter", "DOMAIN2+mathilda" Yes. Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra -- 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