<feed xmlns='http://www.w3.org/2005/Atom'>
<title>freeipa.git/daemons/ipa-slapi-plugins/topology, branch mindatefix</title>
<subtitle>FreeIPA patches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/'/>
<entry>
<title>Topology plugins sigsev/heap corruption when adding a managed host</title>
<updated>2016-06-22T15:51:53+00:00</updated>
<author>
<name>root</name>
<email>root@vm-058-107.abc.idm.lab.eng.brq.redhat.com</email>
</author>
<published>2016-06-22T14:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=a76d4402a6bf68245801f6b65d0569c47aad88c6'/>
<id>a76d4402a6bf68245801f6b65d0569c47aad88c6</id>
<content type='text'>
A managed host may handle several ipaReplTopoManagedSuffix.
Removing (from the topology) such host, loops over the replicated
suffixes array to retrieve, in the hosts list, the host record and delete it.
The problem is that a variable used to manage a hosts list is not reset
when looking at the next suffix. That will messup the lists, keeping
freed elements in the lists.

The fix is to reset the variable inside the replicated suffix loop

https://fedorahosted.org/freeipa/ticket/5977

Reviewed-By: Ludwig Krispenz &lt;lkrispen@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A managed host may handle several ipaReplTopoManagedSuffix.
Removing (from the topology) such host, loops over the replicated
suffixes array to retrieve, in the hosts list, the host record and delete it.
The problem is that a variable used to manage a hosts list is not reset
when looking at the next suffix. That will messup the lists, keeping
freed elements in the lists.

The fix is to reset the variable inside the replicated suffix loop

https://fedorahosted.org/freeipa/ticket/5977

Reviewed-By: Ludwig Krispenz &lt;lkrispen@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>v2 - avoid crash in topology plugin when host list contains host with no hostname</title>
<updated>2016-06-13T14:25:03+00:00</updated>
<author>
<name>Ludwig Krispenz</name>
<email>lkrispen@redhat.com</email>
</author>
<published>2016-06-13T07:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=0b11b36bf215a351050280ab0b329ceda7a9dccf'/>
<id>0b11b36bf215a351050280ab0b329ceda7a9dccf</id>
<content type='text'>
ticket #5928

prevent a crash when dereferncing a NULL hostnam, log an error to help debugging
fix an incorrect order of statement when freeing a host list

Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ticket #5928

prevent a crash when dereferncing a NULL hostnam, log an error to help debugging
fix an incorrect order of statement when freeing a host list

Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>prevent moving of topology entries out of managed scope by modrdn operations</title>
<updated>2016-01-21T11:52:08+00:00</updated>
<author>
<name>Ludwig Krispenz</name>
<email>lkrispen@redhat.com</email>
</author>
<published>2015-12-11T12:50:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=c152e1007515f208b0c3b84c1ff13a9fe9b45fdf'/>
<id>c152e1007515f208b0c3b84c1ff13a9fe9b45fdf</id>
<content type='text'>
Ticket: https://fedorahosted.org/freeipa/ticket/5536
Reviewed-By: Martin Basti &lt;mbasti@redhat.com&gt;
Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ticket: https://fedorahosted.org/freeipa/ticket/5536
Reviewed-By: Martin Basti &lt;mbasti@redhat.com&gt;
Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>topology: Fix warning Wshadow</title>
<updated>2015-11-13T17:37:23+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-11-12T19:49:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=08d65f54e75948b929fa1c1e66eefb6bfd8e9334'/>
<id>08d65f54e75948b929fa1c1e66eefb6bfd8e9334</id>
<content type='text'>
topology_pre.c: In function ‘ipa_topo_pre_add’:
topology_pre.c:509:15: warning: declaration of ‘errtxt’ shadows a previous local [-Wshadow]
         char *errtxt;
               ^
topology_pre.c:494:11: note: shadowed declaration is here
     char *errtxt  = NULL;
           ^

Reviewed-By: Martin Basti &lt;mbasti@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
topology_pre.c: In function ‘ipa_topo_pre_add’:
topology_pre.c:509:15: warning: declaration of ‘errtxt’ shadows a previous local [-Wshadow]
         char *errtxt;
               ^
topology_pre.c:494:11: note: shadowed declaration is here
     char *errtxt  = NULL;
           ^

Reviewed-By: Martin Basti &lt;mbasti@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>update list of managed servers when a suffix becomes managed</title>
<updated>2015-10-30T12:47:25+00:00</updated>
<author>
<name>Ludwig Krispenz</name>
<email>lkrispen@redhat.com</email>
</author>
<published>2015-10-30T08:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=3f70c9aed7d1357ac5031b8f8b48af320acba567'/>
<id>3f70c9aed7d1357ac5031b8f8b48af320acba567</id>
<content type='text'>
    when a suffix becomes managed for a host, the host needs to
    be added to the managed servers, otherwise connectivity check would fail

Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    when a suffix becomes managed for a host, the host needs to
    be added to the managed servers, otherwise connectivity check would fail

Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>reject agreement only if both ends are managed</title>
<updated>2015-10-30T12:47:25+00:00</updated>
<author>
<name>Ludwig Krispenz</name>
<email>lkrispen@redhat.com</email>
</author>
<published>2015-08-24T11:29:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=22a999267c328bab7fd1d29434ac992f4b02e6c6'/>
<id>22a999267c328bab7fd1d29434ac992f4b02e6c6</id>
<content type='text'>
the creation or deletion of a replication agreemet is rejected if the
servers are managed for the suffix. But bot endpoints need to checked

Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the creation or deletion of a replication agreemet is rejected if the
servers are managed for the suffix. But bot endpoints need to checked

Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>handle cleaning of RUV in the topology plugin</title>
<updated>2015-10-26T17:11:32+00:00</updated>
<author>
<name>Ludwig Krispenz</name>
<email>lkrispen@redhat.com</email>
</author>
<published>2015-10-23T12:18:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=26bfc914d97f8698f294967e9812b0a7ebc4bce6'/>
<id>26bfc914d97f8698f294967e9812b0a7ebc4bce6</id>
<content type='text'>
    After removing a server the replicaid needs to be cleared in the ruv entry and
    in the changelog.
    This was triggere by initiating a cleanallruv task in "ipa-replica-manage del",
    but the removal of a master already triggers a cleanup of segments and replication
    agreement by the topology plugin, so this could be handled by the plugin as well.

Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    After removing a server the replicaid needs to be cleared in the ruv entry and
    in the changelog.
    This was triggere by initiating a cleanallruv task in "ipa-replica-manage del",
    but the removal of a master already triggers a cleanup of segments and replication
    agreement by the topology plugin, so this could be handled by the plugin as well.

Reviewed-By: Thierry Bordaz &lt;tbordaz@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>prevent operation on tombstones</title>
<updated>2015-10-15T12:24:33+00:00</updated>
<author>
<name>Ludwig Krispenz</name>
<email>lkrispen@redhat.com</email>
</author>
<published>2015-09-02T13:40:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=102651b10afa144384db53b45fb558747a092d6d'/>
<id>102651b10afa144384db53b45fb558747a092d6d</id>
<content type='text'>
Reviewed-By: Jan Cholasta &lt;jcholast@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-By: Jan Cholasta &lt;jcholast@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>handle multiple managed suffixes</title>
<updated>2015-10-15T12:24:33+00:00</updated>
<author>
<name>Ludwig Krispenz</name>
<email>lkrispen@redhat.com</email>
</author>
<published>2015-08-06T14:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=fcb9854dcb047018a1904c7e6db655af0596e3ae'/>
<id>fcb9854dcb047018a1904c7e6db655af0596e3ae</id>
<content type='text'>
    trigger topology updaet if suffix entry is added
    trigger topology update if managedSuffix is modified in host entry

Reviewed-by: Simo Sorce &lt;simo@redhat.com&gt;
Reviewed-By: Jan Cholasta &lt;jcholast@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    trigger topology updaet if suffix entry is added
    trigger topology update if managedSuffix is modified in host entry

Reviewed-by: Simo Sorce &lt;simo@redhat.com&gt;
Reviewed-By: Jan Cholasta &lt;jcholast@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>topology plugin configuration workaround</title>
<updated>2015-10-15T12:24:33+00:00</updated>
<author>
<name>Petr Vobornik</name>
<email>pvoborni@redhat.com</email>
</author>
<published>2015-07-23T12:56:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/freeipa.git/commit/?id=80e11d24696c30ee311bd019ed39df8fc0f908a2'/>
<id>80e11d24696c30ee311bd019ed39df8fc0f908a2</id>
<content type='text'>
Reviewed-by: Simo Sorce &lt;simo@redhat.com&gt;
Reviewed-By: Jan Cholasta &lt;jcholast@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Simo Sorce &lt;simo@redhat.com&gt;
Reviewed-By: Jan Cholasta &lt;jcholast@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
