delorie.com/archives/browse.cgi | search |
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:from:subject:reply-to:to:references:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=mif/cIm/233ANCQC | |
sXn1DzseB0gX6KPEQkVNEtEasFd8hd0rzvYl0gja67YBVUu2pTE5ycP7wdMxxvTn | |
km5Usz4qi6K3YLVHpdlK7hvJkew6eWB5XPEOnAQs7XjWEmHcBwT/ZVRmZv/lCA3Z | |
eQEPjTi+oYy3VmCXLHXA2n+vbfs= | |
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:from:subject:reply-to:to:references:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=nz44ko81RbIb5J/tWoMEul | |
EBmh8=; b=y1dmr4rvm2f7xnChT8JtjvJGXGmOoYcfYT5J7ofkeZqyeMK3M6ZYHD | |
4Y+INaPAQ0BcJXkeHMHfbqKMOrVwsmB+alV5Hc85gRXyvs4NV6nP5fWpU+ssaRLR | |
uCBfHXgdXH7OE58+y4ssxSK5fEzNuz+dMMHOXaTFH3Gy8t4VcZXuM= | |
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-Spam-SWARE-Status: | No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Jose, Isaias, Cabrera, jose |
X-HELO: | smtp-out-no.shaw.ca |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Subject: | Re: getent doesn't work properly |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
To: | cygwin AT cygwin DOT com |
References: | <AM4PR07MB3473294020CA8F67E79E0217956D0 AT AM4PR07MB3473 DOT eurprd07 DOT prod DOT outlook DOT com> <VI1P195MB0765A1363436FD291CEB0E42DE6D0 AT VI1P195MB0765 DOT EURP195 DOT PROD DOT OUTLOOK DOT COM> <AM4PR07MB34732CB5E56CB53C82B2350F956D0 AT AM4PR07MB3473 DOT eurprd07 DOT prod DOT outlook DOT com> <VI1P195MB076556407BF722B6618D58A8DE6D0 AT VI1P195MB0765 DOT EURP195 DOT PROD DOT OUTLOOK DOT COM> |
Openpgp: | preference=signencrypt |
Message-ID: | <4b93af10-30a1-ad16-0c1f-7ccc30543500@SystematicSw.ab.ca> |
Date: | Fri, 18 Oct 2019 06:44:04 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <VI1P195MB076556407BF722B6618D58A8DE6D0@VI1P195MB0765.EURP195.PROD.OUTLOOK.COM> |
X-IsSubscribed: | yes |
On 2019-10-17 10:55, Jose Isaias Cabrera wrote: >> Maayan Apelboim, on Thursday, October 17, 2019 09:02 AM, wrote: >> It works fine for other users as much as I can tell. >> The problem seems to be with one specific user. >> myUser AT dom1-job11 ~ >> $ getent passwd myUser >> myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash >> myUser AT dom1-job11 ~ >> $ getent passwd user1 > Long time ago, I had a problem like that, and I think it was the last line on the passwd file. But, I don't think it's the case with yours. What is enumerated from SAM/AD by getent is controlled by /etc/nsswitch.conf entry db_enum which defaults to: # db_enum: cache builtin I changed my SAM, non-AD, non-domain system to: db_enum: cache local builtin Please read the rest of the info about db_enum in /etc/nsswitch.conf and set up your system accordingly. If you are in a domain with AD, it will be worth your while to configure and run cygserver service, under cygrunsrv, to cache your AD entries. Even if you are on a SAM, non-AD, non-domain system, if you run a lot of Cygwin processes, or use cron a lot, it will be worth your while to configure and run cygserver service, under cygrunsrv, to cache your SAM and process entries. If you run a lot of processes, it may be worth maximizing some entries in /etc/cygserver.conf: # kern.srv.cleanup_threads: No. of cygserver threads used for cleanup tasks. # Default: 2, Min: 1, Max: 16, command line option -c, --cleanup-threads #kern.srv.cleanup_threads 2 kern.srv.cleanup_threads 16 # kern.srv.request_threads: No. of cygserver threads used to serve # application requests. # Default: 10, Min: 1, Max: 310, command line option -r, --request-threads #kern.srv.request_threads 10 kern.srv.request_threads 310 # kern.srv.process_cache_size: No. of concurrent processes which can be handled # by Cygserver concurrently. # Default: 62, Min: 1, Max: 310, command line option -p, --process-cache #kern.srv.process_cache_size 62 kern.srv.process_cache_size 310 -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |