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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: <20140513145247 DOT GQ2436 AT calimero DOT vinschen DOT de> <20140513161626 DOT GT2436 AT calimero DOT vinschen DOT de> <20140513164122 DOT GU2436 AT calimero DOT vinschen DOT de> <20140513191732 DOT GX2436 AT calimero DOT vinschen DOT de> <20140514113659 DOT GD2436 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2zf2tx9IpuxnXhG" Content-Disposition: inline In-Reply-To: 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--