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:to:subject:references:from:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=M17cC VurcxNoi/4qpsMLTO1LJccNrv8OjrAJypnbL8tqa1FMvQMm8dSLQAE1JT5TbQwnP qCtjepbDUU7USPrsS/+rn6vL6jP2g5B+lCu7iCeHGWlALW/G67gfJBnyUpmoBQ7Y KQ2p8CYAEkAclkBEXzjXhTJaNPG4/Hmc21jtwM= 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:to:subject:references:from:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=fn9UhJL+Z9Y qdQNaHvQLTU3Anho=; b=OQmPnjhmi6Z1yUgWID7cbcyrvzFkXqK1XwW7Uvkz3wo bIUZzGewlh6qiUOQEYkEfu2VJNWa9WMv66qLPrwXN/QePT62ELiwAdnrp0paIvVD FgI2JKMHmZEzF+T8/3HhNIHMh8uqI7CLv31j6gSzCy1GX54L9Nvyd6iCitTqK59s = 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=-1.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: treacle.ucs.ed.ac.uk To: cygwin AT cygwin DOT com Subject: Re: More testing needed: New passwd/group AD/SAM integration References: <20140513105832 DOT GM2436 AT calimero DOT vinschen DOT de> <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> From: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson) Date: Wed, 14 May 2014 15:15:11 +0100 In-Reply-To: <20140514113659.GD2436@calimero.vinschen.de> (Corinna Vinschen's message of "Wed\, 14 May 2014 13\:36\:59 +0200") Message-ID: User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b33 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-IsSubscribed: yes Corinna Vinschen writes: > 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=544(+Administrators) gid=544(+Administrators) groups=11(+Authenticated 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. > I just created new snapshots on http://cygwin.com/snapshots/ > Please give'em a try. Done, and now [x86_64 20140514]> id Administrators id: Administrators: no such user [x86_64 20140514]> +Administrators uid=544(+Administrators) gid=544(+Administrators) groups=11(+Authenticated Users),544(+Administrators) with no delay in either case. So _that's_ sorted. Overall, I now get the following clean pattern of id behaviour wrt prefix '+': 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 [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 id '+'$u >/dev/null 2>/dev/null; then echo "yes"; else echo "no"; fi done ] ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] -- 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