<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/util, 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>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>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>Free resources if fileno failed</title>
<updated>2012-12-20T17:12:18+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2012-12-18T18:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=3831f866292da4118e87e204ac8c02244825bf43'/>
<id>3831f866292da4118e87e204ac8c02244825bf43</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>select_principal_from_keytab() do wildcard lookups after specific ones</title>
<updated>2012-12-18T18:04:06+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2012-12-17T21:14:55+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=4ee7f390af4193656c1e6ba45c9c3c14dd64a8a9'/>
<id>4ee7f390af4193656c1e6ba45c9c3c14dd64a8a9</id>
<content type='text'>
Currently the wildcard lookup '*$' is done before the one for
host/our.hostname@REALM. This means we would ignore a more specific
match in favour of an unspecific match with a principal which is only
used in a AD environment.

I think this is wrong an wildcards should only be used is all specific
lookups fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the wildcard lookup '*$' is done before the one for
host/our.hostname@REALM. This means we would ignore a more specific
match in favour of an unspecific match with a principal which is only
used in a AD environment.

I think this is wrong an wildcards should only be used is all specific
lookups fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>select_principal_from_keytab() look for plain input as well</title>
<updated>2012-12-18T18:04:06+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2012-12-17T21:08:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=f2999e1d624d45e0142f39317461a6a1c996efb2'/>
<id>f2999e1d624d45e0142f39317461a6a1c996efb2</id>
<content type='text'>
Currently in select_principal_from_keytab() all kind of different
versions of the host principal are looked up in the keytab except for
the plain name the ldap_sasl_authid option. With this patch the plain
name is looked up first.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently in select_principal_from_keytab() all kind of different
versions of the host principal are looked up in the keytab except for
the plain name the ldap_sasl_authid option. With this patch the plain
name is looked up first.
</pre>
</div>
</content>
</entry>
<entry>
<title>Set cloexec flag for log files</title>
<updated>2012-12-18T10:34:11+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2012-12-15T18:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=449fd66aa70c284dd91d51c49363ef9e941dba8d'/>
<id>449fd66aa70c284dd91d51c49363ef9e941dba8d</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1708

The services kept the fd to /var/log/sssd/sssd.log open. I don't think
there's any point in keeping the logfiles open after exec-ing for the
child, so I set the CLOEXEC flag.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1708

The services kept the fd to /var/log/sssd/sssd.log open. I don't think
there's any point in keeping the logfiles open after exec-ing for the
child, so I set the CLOEXEC flag.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid const warnings when deallocating memory</title>
<updated>2012-11-28T12:36:12+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2012-11-14T13:01:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=df24b52d8b809ab47f89221bed247e13281ca20a'/>
<id>df24b52d8b809ab47f89221bed247e13281ca20a</id>
<content type='text'>
In some case we allocate and assign data to a const pointer.
When we then try to free it we would get a const warning because talloc_free
accepts a void, not a const void pointer. Use discard_const to avoid the
warning, it is safe in this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some case we allocate and assign data to a const pointer.
When we then try to free it we would get a const warning because talloc_free
accepts a void, not a const void pointer. Use discard_const to avoid the
warning, it is safe in this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Avoid accessing half-deallocated memory when using talloc_zfree macro."</title>
<updated>2012-11-28T12:36:12+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2012-11-14T13:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=048bd9dd3f616fee1ff401db2e72cf833213e766'/>
<id>048bd9dd3f616fee1ff401db2e72cf833213e766</id>
<content type='text'>
This reverts commit ff57c6aeb80a52b1f52bd1dac9308a69dc7a4774.

This commit doesn't really make sense, we are never accessing freed
memory as all we are dealing with is a pointer which is never itsef
part of the memory we are freeing (if it were, it would be an error
in the caller and we shouldn't mask it in this macro).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit ff57c6aeb80a52b1f52bd1dac9308a69dc7a4774.

This commit doesn't really make sense, we are never accessing freed
memory as all we are dealing with is a pointer which is never itsef
part of the memory we are freeing (if it were, it would be an error
in the caller and we shouldn't mask it in this macro).
</pre>
</div>
</content>
</entry>
<entry>
<title>debug: print fatal and critical errors if debug level is unresolved</title>
<updated>2012-11-26T19:58:41+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2012-11-19T12:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=3d97f2645356adca1e9e6eeca4f735a1acbed15d'/>
<id>3d97f2645356adca1e9e6eeca4f735a1acbed15d</id>
<content type='text'>
If global variable debug_level has value SSSDBG_UNRESOLVED, we should
print at least fatal and critical errors.

https://fedorahosted.org/sssd/ticket/1345
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If global variable debug_level has value SSSDBG_UNRESOLVED, we should
print at least fatal and critical errors.

https://fedorahosted.org/sssd/ticket/1345
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle compiling FQDN regular expression with old pcre gracefully</title>
<updated>2012-11-22T16:11:26+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2012-11-20T20:48:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=7026b70797180b8fbe6c66638fcbe0e9f66027c1'/>
<id>7026b70797180b8fbe6c66638fcbe0e9f66027c1</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1661
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1661
</pre>
</div>
</content>
</entry>
</feed>
