X-Recipient: archive-cygwin@delorie.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:reply-to:message-id:to:subject
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=JzFNX1oYypmBM4L6J9FGS+gyEfTBfO25GRpWqd5JOXPJqCLZfnqL2
	LxtCbnyFzz94VRI7dQHAj4Z+UDUj+Bf6o0z4i6LdSHbVztcDawrRe37DVN1fd1hq
	7AiRuVaEQ+JqwYH92XWqfWB9gXFvcQ8GWXIZfluZEMwNXt58Y/hvr0=
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:reply-to:message-id:to:subject
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=CUSF2RK+u7aVVg+tOd45zTk++Sg=; b=e9WUL8K9ayJQLmUvsT2yRy6vT9ai
	5w6lG9C6FDAPZCmSYEy3EYuDo9i2MvdtIRkgqocCvQWJf6TDUuQdf0064h7lOEnB
	gPIKsEXwTC822fyGdQ9wRIdX4SBr7rjfSs/ivDcy1W5LLCtQYIsjAkZlKvBqBYFi
	hnbatOLNmVnjuRA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=BAYES_40,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*UA:Bat!, HX-Priority:Normal, H*F:D*yandex.ru, all!
X-HELO: forward102o.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1537878901;	bh=NDd3PmNrb8gZeNT7skuGlMjEb0FEf/jysme/aQU3QSo=;	h=Date:From:Reply-To:Message-ID:To:Subject;	b=JJ14ZKtRPgZcwYvLQl/YS7isO19Vk4chuNDCYbNzC1F4zCVGZAHFk/AnmoLaYEmPk	 xxU+B7PZnMjGicd3N6Bevp6h8Q0FOCGtvx3ENvNn7xStFaZjavh5SvoFAl5sZvRgC7	 UcWLvgI0Qao4hBpHgrut8WEjSTMkKLGfsbUr4i3k=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1537878900;	bh=NDd3PmNrb8gZeNT7skuGlMjEb0FEf/jysme/aQU3QSo=;	h=Date:From:Reply-To:Message-ID:To:Subject;	b=C7lZmqIPVg36JaY6L1YB3DVn4ijXYQp7O3EXPODArSNZpoPKIyacOkpyJiya5KmzA	 atkkeyx4YczDOTLa+AC0MF3jAxuv3Bj4pr/QIsEC8fGbcaw+ej9OrqjSSJDV93Op6w	 9rZz6WjJISffrqW2TnbmdpfHDxXj4BHILFg1Gfj4=
Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Tue, 25 Sep 2018 15:30:41 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <54111094.20180925153041@yandex.ru>
To: All <cygwin@cygwin.com>
Subject: nsswitch.conf: files vs. db_enum interaction
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, All!

I just noticed something that I think is an oddity. Or a possible improvement.
If you set your nsswitch.conf to, say;

passwd: db
db_enum: cache builtin local files

The accounts listed in /etc/passwd aren't looked up.
I understand that it's a documented behavior, but it looks... odd to me.


-- 
With best regards,
Andrey Repin
Tuesday, September 25, 2018 15:24:53

Sorry for my terrible english...


--
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

