delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/21/12:25:24

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:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=wRQKxiZ6IqGMbw2F9hM+fSr5IlhFZ4Ud28bY07V4udW
kD08b9JyivnyUWrRPDpwGFHSAGoaIRkG/UFdnmCFGXXfjeD7LaGSF5Mu+dN3o/mz
3juEEe0YAZOhEhimOt4dEVi06g9TeX8xcS1J5cB8B5ku+nPiwnXBWdj00gG/jDhQ
=
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:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=qbtC5NHKqJ7e0XRt87PcEQN4nwg=; b=UH/hbKUjogZrdsAFz
A075JkuIsCNOJ/zivMWq8uJWTwoRoAOLvvGOHDFQPfp/V+EpjNNMYjlNzZ/2FELC
Dfp/lb1xSQUivNuM8hVVqk2PzBz7+sAO+S5OdpkWWC0HWe2OBHvbz6SZmGG5ht5h
Ccl2SKoZODNgohC0GLQcF2Uch0=
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=0.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-qa0-f44.google.com
X-Received: by 10.229.207.198 with SMTP id fz6mr3187925qcb.27.1424539501851; Sat, 21 Feb 2015 09:25:01 -0800 (PST)
From: "cyg Simple" <cygsimple AT gmail DOT com>
To: <cygwin AT cygwin DOT com>
References: <announce DOT 20150218105937 DOT GA28211 AT calimero DOT vinschen DOT de> <87d255htw7 DOT fsf AT Rainer DOT invalid> <20150220095617 DOT GO26084 AT calimero DOT vinschen DOT de> <54E75BB9 DOT 90807 AT coverity DOT com> <20150220162442 DOT GA26084 AT calimero DOT vinschen DOT de> <54E763CD DOT 9000307 AT coverity DOT com> <20150220170354 DOT GE26084 AT calimero DOT vinschen DOT de>
In-Reply-To: <20150220170354.GE26084@calimero.vinschen.de>
Subject: RE: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.3
Date: Sat, 21 Feb 2015 12:25:04 -0500
Message-ID: <01a801d04dfb$559829f0$00c87dd0$@gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t1LHPHlM013782

> From: Corinna Vinschen
> 
> Maybe it is actually simpler than that.  Invalidating the cache as a whole
> probably never makes sense.  In fact there are two reasons for
> invalidation:
> 
> - The pw_name, pw_shell, pw_home, pw_gecos settings for a user changed.
> 

How is pw_name going to change without a logoff?

> - The interface to the DC was broken and there are entries of the type
>   Achim mentioned, "DOM+User(RID)".
> 
> The first case can only be fixed by invalidating the cache on a regular basis.  If
> we didn't fetch the info for a user for, say, 5 minutes, drop the entry from the
> cache and renew the information by asking the DC again.
> 

Maybe too many requests to the DC for all users?  Couldn't you just reinitialize if the network data changes?  There are times when I would be on the DC and times when I am not with the same account.

> As for the second case, the DOM+User(RID) entries are undesired and wrong
> anyway.  So maybe the caching code could do what you said in the first place.
> Invalidate the cache on every network change.  But then, only invalidate the
> entries of the aforementioned type.
> 

A network change event works fine for me but not a timer event.

> Care to hack a bit?	
> 

I'll take to NET plea as well.  I'm doing good to read the list mail.

--
cyg Simple



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


- Raw text -


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