<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git, branch reviews</title>
<subtitle>Experimental work on SSSD - Systen Security Services Daemon</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/'/>
<entry>
<title>sss_cache: fqdn not accepted</title>
<updated>2013-01-04T16:00:04+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2012-11-05T15:53:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=d27d11b360b92f1728206802005bb3da359e1ea4'/>
<id>d27d11b360b92f1728206802005bb3da359e1ea4</id>
<content type='text'>
sss_cache did not accept fully quaified domain names.

https://fedorahosted.org/sssd/ticket/1620
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sss_cache did not accept fully quaified domain names.

https://fedorahosted.org/sssd/ticket/1620
</pre>
</div>
</content>
</entry>
<entry>
<title>LDAP: initialize refresh function handler</title>
<updated>2013-01-04T15:34:23+00:00</updated>
<author>
<name>Ondrej Kos</name>
<email>okos@redhat.com</email>
</author>
<published>2012-12-19T09:25:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=d091342880477358cf7317111abce05fb5802aab'/>
<id>d091342880477358cf7317111abce05fb5802aab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>let krb5_backup_kpasswd failover work</title>
<updated>2013-01-02T16:59:02+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2013-01-02T08:09:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=4bb57b5f27abd2d38f96ba8681d375fb8aec7f3d'/>
<id>4bb57b5f27abd2d38f96ba8681d375fb8aec7f3d</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1735
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1735
</pre>
</div>
</content>
</entry>
<entry>
<title>failover: Protect against empty host names</title>
<updated>2013-01-02T16:44:09+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2012-10-15T10:21:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=04759b59e71c78ab23b84d13dd29d9c6dd680adb'/>
<id>04759b59e71c78ab23b84d13dd29d9c6dd680adb</id>
<content type='text'>
Added new parameter to split_on_separator that allows to skip
empty values.

The whole function was rewritten. Unit test case was added to
check the new implementation.

https://fedorahosted.org/sssd/ticket/1484
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added new parameter to split_on_separator that allows to skip
empty values.

The whole function was rewritten. Unit test case was added to
check the new implementation.

https://fedorahosted.org/sssd/ticket/1484
</pre>
</div>
</content>
</entry>
<entry>
<title>set ret to EOK after for loop in sdap_sudo_purge_sudoers</title>
<updated>2013-01-02T16:39:44+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2013-01-02T10:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=fc647b8eb5bca901658dedf3dbda2f35c63a86f2'/>
<id>fc647b8eb5bca901658dedf3dbda2f35c63a86f2</id>
<content type='text'>
If we are unable to delete some rule from cache we print a debug
message and ignore the error. Thus we should set ret to EOK after
the for loop otherwise we return whether the last rule was deleted
successfully or not.

This also removes compilation warning that ret may be used
uninitialized (when we don't go inside the loop at all).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we are unable to delete some rule from cache we print a debug
message and ignore the error. Thus we should set ret to EOK after
the for loop otherwise we return whether the last rule was deleted
successfully or not.

This also removes compilation warning that ret may be used
uninitialized (when we don't go inside the loop at all).
</pre>
</div>
</content>
</entry>
<entry>
<title>mmap cache: invalidate cache on fatal error</title>
<updated>2012-12-20T18:55:19+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2012-12-20T02:17:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=0e6c9d03cacf24de4265ee0f902c216ba5a131c9'/>
<id>0e6c9d03cacf24de4265ee0f902c216ba5a131c9</id>
<content type='text'>
If a fatal EFAULT error is returned by the internal function that frees used
memory invalidate the whole cache and reinit it. This way we avoid further
corruption and insure clients see consistent data.

Also insure we use the right context in init() and we use talloc_zfree() in
reinit so that if the init() later fails we do not leave around a pointer
to free memory in the callers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a fatal EFAULT error is returned by the internal function that frees used
memory invalidate the whole cache and reinit it. This way we avoid further
corruption and insure clients see consistent data.

Also insure we use the right context in init() and we use talloc_zfree() in
reinit so that if the init() later fails we do not leave around a pointer
to free memory in the callers.
</pre>
</div>
</content>
</entry>
<entry>
<title>Carefully check records when forcibly invalidating</title>
<updated>2012-12-20T18:55:02+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2012-12-20T04:10:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=6acf7c92ab38ad388295b2d57cc97c4598aa95cc'/>
<id>6acf7c92ab38ad388295b2d57cc97c4598aa95cc</id>
<content type='text'>
We should never try to invalidate an already invalid record as
internal pointers will not be consistent. Carefully test that the
record really is valid when we are fishing for free space, and
properly invalidate records or return a fatal error if something
goes wrong.
In order to make the code more robust always invalidate the whole
data space on initialization by setting all bits to 1, and make sure
to invalidate the whole last allocated slot by converting rec-&gt;len to
the number of slots instead of just the space used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We should never try to invalidate an already invalid record as
internal pointers will not be consistent. Carefully test that the
record really is valid when we are fishing for free space, and
properly invalidate records or return a fatal error if something
goes wrong.
In order to make the code more robust always invalidate the whole
data space on initialization by setting all bits to 1, and make sure
to invalidate the whole last allocated slot by converting rec-&gt;len to
the number of slots instead of just the space used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update free table when records are invalidated.</title>
<updated>2012-12-20T18:55:02+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2012-12-20T04:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=da4c23b6670adb45f71cf51aaeca8df30c2144be'/>
<id>da4c23b6670adb45f71cf51aaeca8df30c2144be</id>
<content type='text'>
We were holding up slots when entries were invalidated directly an not through
our primitive garbage collection scheme.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were holding up slots when entries were invalidated directly an not through
our primitive garbage collection scheme.
</pre>
</div>
</content>
</entry>
<entry>
<title>nss_mc: Add extra checks when dereferencing records</title>
<updated>2012-12-20T18:55:02+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2012-12-19T16:56:27+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=8437e782fdf97945e9e0c2a793ffaf49abc2c0ca'/>
<id>8437e782fdf97945e9e0c2a793ffaf49abc2c0ca</id>
<content type='text'>
Although it should enver happen that we pass in an invalid hash it
is always better to just not do anything than access memory ouf of
the hash table. It can lead to segfaults, or worse referencing
memory that should not be touched.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although it should enver happen that we pass in an invalid hash it
is always better to just not do anything than access memory ouf of
the hash table. It can lead to segfaults, or worse referencing
memory that should not be touched.
</pre>
</div>
</content>
</entry>
<entry>
<title>krb5 tgt renewal: fix usage of ldb_dn_get_component_val()</title>
<updated>2012-12-20T18:41:11+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2012-12-19T17:37:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=10c50d237d6e3137499fcfaa5a804e6712e002ee'/>
<id>10c50d237d6e3137499fcfaa5a804e6712e002ee</id>
<content type='text'>
For some reason I was under the impression that the DN components are
counted backwards in libldb. This patch corrects this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some reason I was under the impression that the DN components are
counted backwards in libldb. This patch corrects this.
</pre>
</div>
</content>
</entry>
</feed>
