<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/tests/cmocka/test_negcache.c, branch dpstr</title>
<subtitle>sssd with jhrozek's patches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/'/>
<entry>
<title>tests: Use unique name for TEST_PATH</title>
<updated>2015-09-18T11:31:54+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-09-10T11:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=50c9d542e8bf641412debaa82a4dcf67ddb72258'/>
<id>50c9d542e8bf641412debaa82a4dcf67ddb72258</id>
<content type='text'>
We had a cases in patch where two tests were using the same TEST_PATH
and therefore they were stepping each other to the same files
which caused failures. These failures are not easy to reproduce.

This patch uses macro BASE_FILE_STEM for unique name. It should prevent
copy&amp;paste problem resulting to intermittent failures.

@see also
https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We had a cases in patch where two tests were using the same TEST_PATH
and therefore they were stepping each other to the same files
which caused failures. These failures are not easy to reproduce.

This patch uses macro BASE_FILE_STEM for unique name. It should prevent
copy&amp;paste problem resulting to intermittent failures.

@see also
https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>negcache: allow domain name for UID and GID</title>
<updated>2015-07-27T20:03:42+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2015-07-22T12:21:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=e1aed98d7c195f844ac8e85050d04f3ca5f899b3'/>
<id>e1aed98d7c195f844ac8e85050d04f3ca5f899b3</id>
<content type='text'>
Related to https://fedorahosted.org/sssd/ticket/2731

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to https://fedorahosted.org/sssd/ticket/2731

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ncache: add calls for certificate based searches</title>
<updated>2015-06-19T16:48:13+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2015-06-03T14:18:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=8d4dedea12e2b71f83a1b0e5f0fc5cdb706dcf98'/>
<id>8d4dedea12e2b71f83a1b0e5f0fc5cdb706dcf98</id>
<content type='text'>
Related to https://fedorahosted.org/sssd/ticket/2596

Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related to https://fedorahosted.org/sssd/ticket/2596

Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ncache: Add sss_ncache_reset_repopulate_permanent</title>
<updated>2015-04-09T06:35:20+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2015-03-29T14:30:27+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=0d19785f9ffd9c66df5b30d208ec7b0216a9555b'/>
<id>0d19785f9ffd9c66df5b30d208ec7b0216a9555b</id>
<content type='text'>
This new function resets the negative cache and then re-adds the
permanent entries.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This new function resets the negative cache and then re-adds the
permanent entries.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ncache: Silence critical error from filter_users when default_domain_suffix is set</title>
<updated>2015-04-09T06:35:16+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2015-03-27T11:30:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=1aa492ce890f362564bfac21f3cfb0a3e38608bd'/>
<id>1aa492ce890f362564bfac21f3cfb0a3e38608bd</id>
<content type='text'>
When default_domain_suffix is used and filter_users is set (at least
root is always, by default), SSSD tried to add the negcache entry to the
default domain. But since the default domain is not known after start
up, adding the entries fail with a verbose error message.

This patch handles EAGAIN returned from the parsing function while
setting negcache entries gracefully and also makes the debug message in
parsing function more precise.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When default_domain_suffix is used and filter_users is set (at least
root is always, by default), SSSD tried to add the negcache entry to the
default domain. But since the default domain is not known after start
up, adding the entries fail with a verbose error message.

This patch handles EAGAIN returned from the parsing function while
setting negcache entries gracefully and also makes the debug message in
parsing function more precise.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ncache: Fix sss_ncache_reset_permanent</title>
<updated>2015-04-09T06:35:10+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2015-03-27T11:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=d338bb46b8c03c33e6182e725911af6d778bcf00'/>
<id>d338bb46b8c03c33e6182e725911af6d778bcf00</id>
<content type='text'>
There was an off-by-one error in sss_ncache_reset_permanent that
prevented the reset from working.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was an off-by-one error in sss_ncache_reset_permanent that
prevented the reset from working.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: convert all unit tests to cmocka 1.0 or later</title>
<updated>2015-03-11T13:39:35+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2015-03-09T20:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=4e5e846de22407f825fe3b4040d79606818a2419'/>
<id>4e5e846de22407f825fe3b4040d79606818a2419</id>
<content type='text'>
All tests now use the cmocka-1.0-compatible API.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All tests now use the cmocka-1.0-compatible API.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: remove code duplication in single domain cleanup</title>
<updated>2015-01-09T14:16:04+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2014-11-21T13:41:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=cb4742876508a08ba90c82466c9dba708e4bf999'/>
<id>cb4742876508a08ba90c82466c9dba708e4bf999</id>
<content type='text'>
Reviewed-by: Michal Židek &lt;mzidek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Michal Židek &lt;mzidek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TESTS: Remove unused macros</title>
<updated>2014-03-12T21:49:35+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2014-03-08T18:15:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=1d3cb26bfcd482e8b9718933eea1037eba1c49d7'/>
<id>1d3cb26bfcd482e8b9718933eea1037eba1c49d7</id>
<content type='text'>
Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>TEST: Do not clean up if test fail.</title>
<updated>2014-03-12T21:49:29+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2014-03-08T17:46:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=dd191498f56ce10f596308cdd0fad344af0d86b9'/>
<id>dd191498f56ce10f596308cdd0fad344af0d86b9</id>
<content type='text'>
Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
