delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/14/11:07:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=xYFGXPRKK4Ds4hgTi40hfabj095L2uHbW0KCIoU98s6eo9he5fj4B
afLWNoOdp6EV4zPBJ56/63USAI1awSD+BTWR5b9q4/mz4l03HO7OjyHDzyoclvd6
AI9/ybYetOo6Xlo9o9CBOay4WIiOGVlUiGSjVqu0PAD1DG1x3EpdYc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=fnq1xKk4dxVBjOdBeRC2Urdph7o=; b=Sh12Q0qpRDjO8nMONeJMgXmY4Cz7
GqNFdukmDvZX1LfROKd5wrAOcIiUfh/QO2cBUai5MmMpRmuKmR8SS+PO8rDlJSZY
naThWt/vVjs2MSNc5Qr9Oc0Z+n1GBKAWbKfQFUC/N0BAt87bHWIMziSEQKzwdgxy
hoCnFhDYoQB2s6A=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 14 May 2014 17:06:54 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: More testing needed: New passwd/group AD/SAM integration
Message-ID: <20140514150654.GF2436@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f5biop9x55t DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <20140513145247 DOT GQ2436 AT calimero DOT vinschen DOT de> <20140513161626 DOT GT2436 AT calimero DOT vinschen DOT de> <f5ba9aliqv0 DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <20140513164122 DOT GU2436 AT calimero DOT vinschen DOT de> <f5b61l9io4h DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <20140513191732 DOT GX2436 AT calimero DOT vinschen DOT de> <f5boaz1gz3d DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk> <20140514113659 DOT GD2436 AT calimero DOT vinschen DOT de> <f5bvbt8e9ao DOT fsf AT troutbeck DOT inf DOT ed DOT ac DOT uk>
MIME-Version: 1.0
In-Reply-To: <f5bvbt8e9ao.fsf@troutbeck.inf.ed.ac.uk>
User-Agent: Mutt/1.5.23 (2014-03-12)

--J2zf2tx9IpuxnXhG
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On May 14 15:15, Henry S. Thompson wrote:
> Corinna Vinschen writes:
>=20
> > Yes, I noticed the "s".  But I missed to explain that I wasn't talking
> > about the delay.  What I can't reproduce is that `id Administrators'
> > returns a result:
> >
> >   $ id +Administrators
> >   uid=3D544(+Administrators) gid=3D544(+Administrators) groups=3D11(+Au=
thenticated Users),544(+Administrators)
> >
> > but:
> >
> >   $ id Administrators
> >   id: Administrators: no such user
> >
> > But now I understand why this occurs.  It's the different handling of
> > account names without domain prefix on standalone vs. domain machines.
> > I applied a patch now which checks the incoming names for validity under
> > the current naming rules, so, in theory, `id Administrators' should now
> > return "no such user" for you as well.
>=20
> > I just created new snapshots on http://cygwin.com/snapshots/
> > Please give'em a try.
>=20
> Done, and now
>=20
>  [x86_64 20140514]> id Administrators
>  id: Administrators: no such user
>  [x86_64 20140514]> +Administrators
>  uid=3D544(+Administrators) gid=3D544(+Administrators) groups=3D11(+Authe=
nticated Users),544(+Administrators)
>=20
> with no delay in either case.  So _that's_ sorted.
>=20
> Overall, I now get the following clean pattern of id behaviour
> wrt prefix '+':
>=20
>                 w/o      w
>                  +       +
> SYSTEM          no      yes
> LocalService    no      yes
> NetworkService  no      yes
> Administrators  no      yes
> TrustedInstaller no      yes
> Administrator   yes     no
> cyg_server      yes     no
> Guest           yes     no
> ht              yes     no
> postgres        yes     no
> sshd            yes     no
>=20
> [you can reproduce this using
>   > cut -d ':' -f 1 /etc/passwd | while read u; do echo -n "$u  "; if id =
$u >/dev/null 2>/dev/null; then echo -n "yes	"; else echo -n "no	"; fi;if i=
d '+'$u >/dev/null 2>/dev/null; then echo "yes"; else echo "no"; fi done
> ]

Thanks for testing.  If you find any other problems or annoyances,
please speak up.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--J2zf2tx9IpuxnXhG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTc4aNAAoJEPU2Bp2uRE+gJPYP/0BIxC/6T4k3nTJzoyjFdROX
AP/oX8OeBy0Fs6izF+b1wzrtsUjJQOh2LohJzSnnbcsMp6I0CL8s4a1ysf57yD3B
KxkIKZc9g9nfWX/YJEcC/6G/gx1FbZ3pLSL25BnFaExD93vyWPuwMPI+S8zaf9kr
oglhxwmtiLGfvSbpgHGJZC6BtjvmxvTKjbfjgKdhYsHppKllNS2o54+8TR9a0hnh
zPqvgZ5QmDPI59cbGIVsS1Lytbi+PRu96gxKa9l6U0j/VJnRJ1qQ50IQUvIXCntZ
zRAtYQaoYnVBUrSUFZBETecLNfKeRJ1kTUF/H1WTbxzlwgImmfAVh8o8UqG4lJnM
5OShsZ7egs805GHIbSQCvCMp7eH04Qk+r89dTLzy1Bea9WRLJrBSxpUxiMCTskJJ
l+VaSkgulw1toZ71IBASM7/UO7drKCpfCgAyH5Gl5Axk6XXv4JNGLV8yrhmW857W
HA7Key4mVDIMAR5Yul82OVxUqoe/Nmn5mKPl0d0cc2eCzvZZ0eXut5jjjIrGqxHx
ib5/0n0Gxee3romR0wa+sQ6v8sfyQDXP7m8k7nRG7weWZB3SdVqoORVi3no/tEl9
o67ChqOwWOMK/ZohvnNTjqIfA9gB1Yejx0lciYoVt4Du/+eINHp16KMs1nrSI79K
qeE9guwoV6hW+ZEIJV7E
=KM+d
-----END PGP SIGNATURE-----

--J2zf2tx9IpuxnXhG--

- Raw text -


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