<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/python/samba/dbchecker.py, branch talloc-2.1.10</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>dbcheck: Improve dbcheck to find (and may fix) dangling msDS-RevealedUsers</title>
<updated>2017-03-13T04:10:12+00:00</updated>
<author>
<name>Garming Sam</name>
<email>garming@catalyst.net.nz</email>
</author>
<published>2017-03-03T04:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6bbcd3bbd813bbabea000f19d4dc655d9db8fc73'/>
<id>6bbcd3bbd813bbabea000f19d4dc655d9db8fc73</id>
<content type='text'>
We cannot add missing backlinks because of the duplicate checking. There
seems to be no trivial way to add the bypass.

Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We cannot add missing backlinks because of the duplicate checking. There
seems to be no trivial way to add the bypass.

Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dbchecker: Stop ignoring linked cases where both objects are alive</title>
<updated>2017-02-23T22:58:21+00:00</updated>
<author>
<name>Garming Sam</name>
<email>garming@catalyst.net.nz</email>
</author>
<published>2017-02-22T02:42:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=0a7c6b56563faeafd61a620cb330349671bc9f3b'/>
<id>0a7c6b56563faeafd61a620cb330349671bc9f3b</id>
<content type='text'>
Previously, this did nothing and the code was both untested and unused.

Removes the knownfail entry for dbcheck.

Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12600
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, this did nothing and the code was both untested and unused.

Removes the knownfail entry for dbcheck.

Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12600
</pre>
</div>
</content>
</entry>
<entry>
<title>dbcheck: Do not regard old one-way-links as errors</title>
<updated>2017-02-13T02:39:23+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2017-02-02T03:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=35bfc62a31c9ad73449594ddd48f76f50e0abade'/>
<id>35bfc62a31c9ad73449594ddd48f76f50e0abade</id>
<content type='text'>
Samba does not maintain one way links when the target is deleted or renamed
so do not fail dbcheck because of such links, but allow them to be updated.

This matters because administrators and make test expect that normal Samba
operation do NOT cause the database to become corrupt, and any error from
dbcheck tends to trigger alarms (or test failures).

If an object pointed at by a one way link is renamed or deleted in normal
operations (such as intersiteTopologyGenerator pointing at a demoted DC),
or make test, then this could trigger.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12577
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Samba does not maintain one way links when the target is deleted or renamed
so do not fail dbcheck because of such links, but allow them to be updated.

This matters because administrators and make test expect that normal Samba
operation do NOT cause the database to become corrupt, and any error from
dbcheck tends to trigger alarms (or test failures).

If an object pointed at by a one way link is renamed or deleted in normal
operations (such as intersiteTopologyGenerator pointing at a demoted DC),
or make test, then this could trigger.

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12577
</pre>
</div>
</content>
</entry>
<entry>
<title>dbcheck: Correct message for orphaned backlinks</title>
<updated>2016-11-22T01:10:16+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2016-11-06T22:04:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=04eb95a46b069f0238dbd232528fd1fadb745066'/>
<id>04eb95a46b069f0238dbd232528fd1fadb745066</id>
<content type='text'>
The backlink name is in attrname, not in link_name

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12297
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The backlink name is in attrname, not in link_name

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12297
</pre>
</div>
</content>
</entry>
<entry>
<title>dbcheck: Be more careful with link checks</title>
<updated>2016-11-22T01:10:16+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2016-10-24T21:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f051e5bf00d6df70048dd0cf901dd7b37be09669'/>
<id>f051e5bf00d6df70048dd0cf901dd7b37be09669</id>
<content type='text'>
Here we are more careful when checking links, flagging errors only
when a non-deleted forward link appears incorrect.  In particular, we
trust the GUID more than we trust the name, as otherwise we can get
caught out if there is a swap of names, (the link should follow the
swap, staying on the same target GUID).

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12297
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here we are more careful when checking links, flagging errors only
when a non-deleted forward link appears incorrect.  In particular, we
trust the GUID more than we trust the name, as otherwise we can get
caught out if there is a swap of names, (the link should follow the
swap, staying on the same target GUID).

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12297
</pre>
</div>
</content>
</entry>
<entry>
<title>dbcheck: Correctly initialise keep_transaction in missing_parent test</title>
<updated>2016-11-04T03:41:19+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2016-11-03T00:30:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=09537a67b0e761c834fb7c14d7e8d55e07fc5156'/>
<id>09537a67b0e761c834fb7c14d7e8d55e07fc5156</id>
<content type='text'>
Otherwise there is no point to this variable, we are trying to work out
if the subsequent modify succeded

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9954
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise there is no point to this variable, we are trying to work out
if the subsequent modify succeded

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9954
</pre>
</div>
</content>
</entry>
<entry>
<title>dbcheck: confirm RID Set presence and consistency</title>
<updated>2016-11-04T03:41:19+00:00</updated>
<author>
<name>Clive Ferreira</name>
<email>cliveferreira@catalyst.net.nz</email>
</author>
<published>2016-10-27T04:28:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7fd5be535ade5ed119d869c8f215aa605aba2125'/>
<id>7fd5be535ade5ed119d869c8f215aa605aba2125</id>
<content type='text'>
Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9954
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9954
</pre>
</div>
</content>
</entry>
<entry>
<title>dbcheck: Abandon dbcheck if we get an error during a transaction</title>
<updated>2016-08-29T10:46:21+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2016-08-26T03:53:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=db32a0e5ea8f652857e45480cc31ecb1ef884c1a'/>
<id>db32a0e5ea8f652857e45480cc31ecb1ef884c1a</id>
<content type='text'>
Otherwise, anything that the transaction has already done to the DB will be left in the DB
even despite the failure.  For example, if a fix wrote to the DB, but then failed a post-write
check, then the fix will not be unrolled.

This is because we do not have nested transactions in TDB.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12178

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Mon Aug 29 12:46:21 CEST 2016 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, anything that the transaction has already done to the DB will be left in the DB
even despite the failure.  For example, if a fix wrote to the DB, but then failed a post-write
check, then the fix will not be unrolled.

This is because we do not have nested transactions in TDB.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12178

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Stefan Metzmacher &lt;metze@samba.org&gt;

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Mon Aug 29 12:46:21 CEST 2016 on sn-devel-144
</pre>
</div>
</content>
</entry>
<entry>
<title>dbcheck: Add a rule regarding replica locations</title>
<updated>2016-07-21T04:37:08+00:00</updated>
<author>
<name>Garming Sam</name>
<email>garming@catalyst.net.nz</email>
</author>
<published>2016-07-18T05:06:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=3eb7fab04b2c69142eb1bfb66140e1842ba3cd05'/>
<id>3eb7fab04b2c69142eb1bfb66140e1842ba3cd05</id>
<content type='text'>
This fixes any RW DCs with repsFrom without the corresponding link. On
any RODC, this just reports an error (and doesn't fix it).

(the knownfail entry is also now removed)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9200

Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes any RW DCs with repsFrom without the corresponding link. On
any RODC, this just reports an error (and doesn't fix it).

(the knownfail entry is also now removed)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9200

Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dbcheck: Split out valid stale DN links and invalid ones</title>
<updated>2016-07-15T08:01:30+00:00</updated>
<author>
<name>Garming Sam</name>
<email>garming@catalyst.net.nz</email>
</author>
<published>2016-07-13T22:31:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=52ac6d1f95822aacd03fde54c4e6aba5854b6f4b'/>
<id>52ac6d1f95822aacd03fde54c4e6aba5854b6f4b</id>
<content type='text'>
Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
