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=ohFno8U5Fxw2vNpga5MHzurhe3UQkTsiXiFBniOy7gD7zROG8EKK1 z3bZXUZ/3Nbcx8NbDyRzYk5iuhHIS/Quke90mCMJsorv8r7pLkr8Gz5JUSR6QY76 nBckaej+2qcdqe7iLojnD6d1en4JPErJVLnAB+vKa01VUpyZWUX8Ys= 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=/d3YNT3xmJETYItr8cgX4l4jQnc=; b=qCK17VtciC1jUoErxk3M+QBcgx33 8rQ2vzHVMjQ4CZH8aOWTi6H4bh6oY1L4Y5QaI99U5kHLtJ8ihozFxTV82EjgJ3Ns XmpIftQtGPI1BSoi7TKCm+Wa+AukVQN6zAifRy7dziVrbeJlC2zrjJwZS6dA8xAF jeas62Kk7ghuwrM= 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: Fri, 20 Feb 2015 21:20:46 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.3 Message-ID: <20150220202046.GB31682@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <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> <54E7823F DOT 8060301 AT coverity DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline In-Reply-To: <54E7823F.8060301@coverity.com> User-Agent: Mutt/1.5.23 (2014-03-12) --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 20 13:51, Tom Honermann wrote: > On 02/20/2015 12:03 PM, Corinna Vinschen wrote: > >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. > > > >- 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. > > > >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. >=20 > That all sounds very reasonable. >=20 > >Care to hack a bit? >=20 > Oh, if only I could. If I had more time available, I'd have to go with m= ore > time to play with my kids (or sleep) :) Sleep is highly overrated. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU55ceAAoJEPU2Bp2uRE+g8KsP/jfxPsBCTai7CfUQGLOQ2jA5 RD/G8NnGqVGD1uSjYnTayGkES6M0tZuKxQ/7ZsAfOxz2vNExunK/I/cj7nR4/DpY zB1a2YCMQCxLZZHMLn0unjbbEE9ggp2BFj4c8bvXWGHKHwIRUBXVPu1Bp01TLq3o 5kDEeVrmiU6l2S6tV86YnpfADi4nXzhH75H/wssUV4dWEjXtDOw5D/vggiFdJ8tE L01d13+3hAyD/WCQ+ClCPynmm5ULOx3IKakz7THpru9LdUaR249iMVPKEbOblDbC nIMf0rKK5O4LucTsfptwATlQJRNWAyNoSX2+RTRPP3jdXhQzFEBlZeVtzmfpQYbA gmDxisGVxZs+zZu29UJpjHyySdV4h9DyuKzkdH/HEeWHq8FObz8UOTxs0r1JlFP6 urwYgilEReSWtY6qOUpXnzaxWCs/Jc4T4bW7cj7QQG5qEGcf8rBTWEMaYKnynaY6 egLrmeaSBKguyqignYHehjRG2cBV5ZUPMld2UiOEv+RnT18dnOKF1UORiV8/aHkg jlHhlvXldqpxnQh5yUAKTLXxby8njGPqO79cFxgThxgobXZy5ZXh9mEYTn8/LWkR EzfLWoUIu7zQHkLsuW6u2++MwY1idsRI3H1zpZ2T58MQeRHRUcYHubZ4U4P5FBXc CC1xzqfgdUUB57j7/8NO =zdny -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN--