<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/winbindd/winbindd_cache.c, branch v3-5-test</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>s3-winbind: Add an update function for winbind cache.</title>
<updated>2011-12-16T12:58:34+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@samba.org</email>
</author>
<published>2011-12-03T00:19:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=1854e6a766e1a7bf55b175d7975d3b6235149c7d'/>
<id>1854e6a766e1a7bf55b175d7975d3b6235149c7d</id>
<content type='text'>
With 57b3d32 we changed the format for the winbind cache database and
the code deleted the database for the upgrade. As this database holds
also cached credentials, removing it is not an option. We need to update
from version 1 to version 2.

Autobuild-User: Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date: Sat Dec  3 03:47:58 CET 2011 on sn-devel-104
(cherry picked from commit a3f600521122d1a6d74d16668bd1ea4447c5c867)

The last 3 patches address bug #8658 (Negative / positive winbind cache won't
expire till opposite type of query is made).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With 57b3d32 we changed the format for the winbind cache database and
the code deleted the database for the upgrade. As this database holds
also cached credentials, removing it is not an option. We need to update
from version 1 to version 2.

Autobuild-User: Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date: Sat Dec  3 03:47:58 CET 2011 on sn-devel-104
(cherry picked from commit a3f600521122d1a6d74d16668bd1ea4447c5c867)

The last 3 patches address bug #8658 (Negative / positive winbind cache won't
expire till opposite type of query is made).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #8521 - winbindd cache timeout expiry test was reversed</title>
<updated>2011-12-16T12:58:00+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2011-10-12T16:43:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b5215ca58c7501e093030c527f82078c8b315b88'/>
<id>b5215ca58c7501e093030c527f82078c8b315b88</id>
<content type='text'>
Found and fix reported by Micha Lenk &lt;micha@lenk.info&gt;. Thanks !
(cherry picked from commit 1e4761d05978b7a495d121acc1deaa7049f3911c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found and fix reported by Micha Lenk &lt;micha@lenk.info&gt;. Thanks !
(cherry picked from commit 1e4761d05978b7a495d121acc1deaa7049f3911c)
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:winbind add timeouts to winbind cache</title>
<updated>2011-12-16T12:57:59+00:00</updated>
<author>
<name>Christian Ambach</name>
<email>christian.ambach@de.ibm.com</email>
</author>
<published>2010-11-04T16:10:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6a761e873c34badd628a5460dd18830465ec484c'/>
<id>6a761e873c34badd628a5460dd18830465ec484c</id>
<content type='text'>
This adds a timeout value to cache entries and the NDR records
in the winbind cache.

The previous approach of just comparing the sequence number has some issues,
e.g. when retrying a wbinfo -n operation for a user in a not yet trusted
domain was always failing even after the trusted domain was added.

The new approach compares sequence number and timeout value to
determine if a cache entry is still valid or not.

I increased the cache version number so an old cache will be wiped
automatically after upgrade.
(cherry picked from commit 57b3d32c8d87c4273d30d73fe2bfd3de0178945d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a timeout value to cache entries and the NDR records
in the winbind cache.

The previous approach of just comparing the sequence number has some issues,
e.g. when retrying a wbinfo -n operation for a user in a not yet trusted
domain was always failing even after the trusted domain was added.

The new approach compares sequence number and timeout value to
determine if a cache entry is still valid or not.

I increased the cache version number so an old cache will be wiped
automatically after upgrade.
(cherry picked from commit 57b3d32c8d87c4273d30d73fe2bfd3de0178945d)
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Fix Coverity ID 1137: CONSTANT_EXPRESSION_RESULT</title>
<updated>2011-04-04T18:58:06+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2011-04-01T06:40:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=5fc7b78c64c43fd345b96dcbc1d30f2cabfaef81'/>
<id>5fc7b78c64c43fd345b96dcbc1d30f2cabfaef81</id>
<content type='text'>
Autobuild-User: Volker Lendecke &lt;vlendec@samba.org&gt;
Autobuild-Date: Fri Apr  1 09:35:19 CEST 2011 on sn-devel-104

This patch and the last one address bug #8054 - winbindd cache stores/retrieves
wrong sizes for 16-bit ints.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autobuild-User: Volker Lendecke &lt;vlendec@samba.org&gt;
Autobuild-Date: Fri Apr  1 09:35:19 CEST 2011 on sn-devel-104

This patch and the last one address bug #8054 - winbindd cache stores/retrieves
wrong sizes for 16-bit ints.
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Fix a winbind segfault in "trusted_domains"</title>
<updated>2010-01-14T14:10:10+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2010-01-13T11:20:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=3b9cdab89672576ddfe6f7c2be54169fb4dd7634'/>
<id>3b9cdab89672576ddfe6f7c2be54169fb4dd7634</id>
<content type='text'>
We have to initialize domain-&gt;backend by calling "get_cache" before doing a
query

Thanks to Christian Ambach to find this :-)
(cherry picked from commit 026b23062eeee23dffeb627800b3cb6f55d89ad6)

Fix bug #7037.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have to initialize domain-&gt;backend by calling "get_cache" before doing a
query

Thanks to Christian Ambach to find this :-)
(cherry picked from commit 026b23062eeee23dffeb627800b3cb6f55d89ad6)

Fix bug #7037.
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: List trusted domains from wcache when domain is offline.</title>
<updated>2010-01-06T11:26:58+00:00</updated>
<author>
<name>Bo Yang</name>
<email>boyang@samba.org</email>
</author>
<published>2010-01-06T11:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=65003db3685098dd3b8370c5a6fc673c9eba5d7a'/>
<id>65003db3685098dd3b8370c5a6fc673c9eba5d7a</id>
<content type='text'>
Signed-off-by: Bo Yang &lt;boyang@samba.org&gt;
(cherry picked from commit d06fb8e02706559e91c6d185427409bb093bb896)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Bo Yang &lt;boyang@samba.org&gt;
(cherry picked from commit d06fb8e02706559e91c6d185427409bb093bb896)
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Make winbindd_cache.c aware of domain offline to avoid unnecessary backend query.</title>
<updated>2010-01-06T11:26:41+00:00</updated>
<author>
<name>Bo Yang</name>
<email>boyang@samba.org</email>
</author>
<published>2010-01-06T07:05:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=063a2ceb9192a5b1820a7e115decc49357f2b3b6'/>
<id>063a2ceb9192a5b1820a7e115decc49357f2b3b6</id>
<content type='text'>
Signed-off-by: Bo Yang &lt;boyang@samba.org&gt;
(cherry picked from commit 133638c8aea7280d01b5a23150428977e9ff0e11)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Bo Yang &lt;boyang@samba.org&gt;
(cherry picked from commit 133638c8aea7280d01b5a23150428977e9ff0e11)
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Pass netr_DomainTrustList instead of names and sids through (*trusted_domains)</title>
<updated>2009-12-28T14:52:54+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-12-28T14:51:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=a4def0bfd88fb9c951f87834e07791e07a966727'/>
<id>a4def0bfd88fb9c951f87834e07791e07a966727</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Remove some unused code</title>
<updated>2009-12-28T14:00:13+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-12-28T13:56:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f362be18f7cdc9634bbe5e8f306a380e1e0bc06f'/>
<id>f362be18f7cdc9634bbe5e8f306a380e1e0bc06f</id>
<content type='text'>
Watch the #if 0 -- we never stored this in the cache anymore
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Watch the #if 0 -- we never stored this in the cache anymore
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Fix a typo found by Matthias Dieter Wallnöfer &lt;mdw@samba.org&gt; -- thanks :-)</title>
<updated>2009-12-26T14:21:45+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2009-12-26T14:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f8e3fee3fe42e15fbfdbeeadd17f6ee1392687a5'/>
<id>f8e3fee3fe42e15fbfdbeeadd17f6ee1392687a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
