<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/tests, branch sudo1-13</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/'/>
<entry>
<title>intg: Fix execution with dbus-1.11.18</title>
<updated>2017-10-04T04:42:03+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2017-10-03T13:34:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=26f2a1cbc317face478cbb444a2984692dbde9c3'/>
<id>26f2a1cbc317face478cbb444a2984692dbde9c3</id>
<content type='text'>
Since dbus-1.11.18 DBUS_COOKIE_SHA1 respect $HOME variable
and fallback to value returned from getpwnam only if env HOME
does not exist. It caused problem for dbus communication
between sssd processes because local user usually do not have
directory $HOME/.dbus-keyrings/. And directory created in cwrap
environment is problmatic

[build@host ~]$ ls -ld ~/.dbus-keyrings/
drw-------. 2 build build 6 Oct  3 10:44 /home/build/.dbus-keyrings/

[buildhost ~]$ ls -lna ~/.dbus-keyrings/
ls: cannot access '/home/build/.dbus-keyrings/.': Permission denied
ls: cannot access '/home/build/.dbus-keyrings/..': Permission denied
total 0
d????????? ? ? ? ?            ? .
d????????? ? ? ? ?            ? ..

[build@host ~]$ touch ~/.dbus-keyrings/test
touch: cannot touch '/home/build/.dbus-keyrings/test': Permission denied

Other alternative would be to set env variable HOME to the
same value as in fake passwd file:
  HOME=$(abs_builddir)/root

Related dbus bug:
https://bugs.freedesktop.org/show_bug.cgi?id=101960

Resolves:
https://pagure.io/SSSD/sssd/issue/3531

Reviewed-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
(cherry picked from commit 82c36227e36de155b13e6eb7cfa3e80a25774157)
(cherry picked from commit ff2ff94a1cdb98a55a2d8a3c3bbe06e1fb948d5a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since dbus-1.11.18 DBUS_COOKIE_SHA1 respect $HOME variable
and fallback to value returned from getpwnam only if env HOME
does not exist. It caused problem for dbus communication
between sssd processes because local user usually do not have
directory $HOME/.dbus-keyrings/. And directory created in cwrap
environment is problmatic

[build@host ~]$ ls -ld ~/.dbus-keyrings/
drw-------. 2 build build 6 Oct  3 10:44 /home/build/.dbus-keyrings/

[buildhost ~]$ ls -lna ~/.dbus-keyrings/
ls: cannot access '/home/build/.dbus-keyrings/.': Permission denied
ls: cannot access '/home/build/.dbus-keyrings/..': Permission denied
total 0
d????????? ? ? ? ?            ? .
d????????? ? ? ? ?            ? ..

[build@host ~]$ touch ~/.dbus-keyrings/test
touch: cannot touch '/home/build/.dbus-keyrings/test': Permission denied

Other alternative would be to set env variable HOME to the
same value as in fake passwd file:
  HOME=$(abs_builddir)/root

Related dbus bug:
https://bugs.freedesktop.org/show_bug.cgi?id=101960

Resolves:
https://pagure.io/SSSD/sssd/issue/3531

Reviewed-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
(cherry picked from commit 82c36227e36de155b13e6eb7cfa3e80a25774157)
(cherry picked from commit ff2ff94a1cdb98a55a2d8a3c3bbe06e1fb948d5a)
</pre>
</div>
</content>
</entry>
<entry>
<title>TEST_NEGCACHE: Ensure root's uid and gid are always added to ncache</title>
<updated>2017-08-31T20:23:57+00:00</updated>
<author>
<name>Fabiano Fidêncio</name>
<email>fidencio@redhat.com</email>
</author>
<published>2017-08-16T08:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=22811bdd48bb330a21d6c000fdca74c1169fe822'/>
<id>22811bdd48bb330a21d6c000fdca74c1169fe822</id>
<content type='text'>
In order to do so two new functions have been introduced and
test_sss_ncache_prepopulate() has been modified in order to ensure that
root's uid and gid are always added to the negative cache.

Related: https://pagure.io/SSSD/sssd/issue/3460

Signed-off-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit b4b3d0642120ca05f63959fe2f317a6b93031929)
(cherry picked from commit 7e48fb252d1cf032d9aa11bbad1366d753ed081d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to do so two new functions have been introduced and
test_sss_ncache_prepopulate() has been modified in order to ensure that
root's uid and gid are always added to the negative cache.

Related: https://pagure.io/SSSD/sssd/issue/3460

Signed-off-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit b4b3d0642120ca05f63959fe2f317a6b93031929)
(cherry picked from commit 7e48fb252d1cf032d9aa11bbad1366d753ed081d)
</pre>
</div>
</content>
</entry>
<entry>
<title>TEST_NEGCACHE: Test that "root" is always added to ncache</title>
<updated>2017-08-31T20:22:26+00:00</updated>
<author>
<name>Fabiano Fidêncio</name>
<email>fidencio@redhat.com</email>
</author>
<published>2017-08-16T08:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=5075b176deaf56d7ec763133fd8f481662d9d6f9'/>
<id>5075b176deaf56d7ec763133fd8f481662d9d6f9</id>
<content type='text'>
Simply modify test_sss_ncache_prepopulate() in order to ensure that
"root" user and group are always added to the negative cache, no matter
whether they're set as part of the filter_users or filter_groups
options.

Related: https://pagure.io/SSSD/sssd/issue/3460

Signed-off-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit e54764d62bfcc48770d9b2578132979aa58636e5)
(cherry picked from commit cfc62a3cc9683a78e5a5ccb31c7e5094c1b91a91)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simply modify test_sss_ncache_prepopulate() in order to ensure that
"root" user and group are always added to the negative cache, no matter
whether they're set as part of the filter_users or filter_groups
options.

Related: https://pagure.io/SSSD/sssd/issue/3460

Signed-off-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit e54764d62bfcc48770d9b2578132979aa58636e5)
(cherry picked from commit cfc62a3cc9683a78e5a5ccb31c7e5094c1b91a91)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: update expired certificate</title>
<updated>2017-06-26T15:31:32+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2017-06-26T10:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=d25ff20f6102c2cb47fd75ebf57ae6a5d7aac19c'/>
<id>d25ff20f6102c2cb47fd75ebf57ae6a5d7aac19c</id>
<content type='text'>
This is a short term fix to un-break the unit tests. The proper fix
would be to create the certificates at runtime during the tests.

Related to https://pagure.io/SSSD/sssd/issue/3436

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
(cherry picked from commit 2ccfa9502abf52941d8b6e44b5f7cfdd13311a2d)
(cherry picked from commit a3f85d196d14d2699af3ccd87c69c89287ce09fa)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a short term fix to un-break the unit tests. The proper fix
would be to create the certificates at runtime during the tests.

Related to https://pagure.io/SSSD/sssd/issue/3436

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
(cherry picked from commit 2ccfa9502abf52941d8b6e44b5f7cfdd13311a2d)
(cherry picked from commit a3f85d196d14d2699af3ccd87c69c89287ce09fa)
</pre>
</div>
</content>
</entry>
<entry>
<title>BUILD: Fix build without ssh</title>
<updated>2017-05-25T12:06:41+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2017-05-23T12:41:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=6b883efd16eb35a1a3790c1af07f87b21a17cfe8'/>
<id>6b883efd16eb35a1a3790c1af07f87b21a17cfe8</id>
<content type='text'>
autoreconf -if
./configure --without-ssh
make check

src/tests/cmocka/test_utils-test_sss_ssh.o: In function `test_textual_public_key':
src/tests/cmocka/test_sss_ssh.c:78: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_sss_ssh.c:82: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_sss_ssh.c:86: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_sss_ssh.c:89: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_sss_ssh.c:92: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_utils-test_sss_ssh.o:src/tests/cmocka/test_sss_ssh.c:95:
    more undefined references to `sss_ssh_format_pubkey' follow
collect2: error: ld returned 1 exit status

Reviewed-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
(cherry picked from commit d82ffa52dd4c3bb11115b1687edc189284797329)
(cherry picked from commit f46d1474b7b249eda690e78b02adea981fbb058c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
autoreconf -if
./configure --without-ssh
make check

src/tests/cmocka/test_utils-test_sss_ssh.o: In function `test_textual_public_key':
src/tests/cmocka/test_sss_ssh.c:78: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_sss_ssh.c:82: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_sss_ssh.c:86: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_sss_ssh.c:89: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_sss_ssh.c:92: undefined reference to `sss_ssh_format_pubkey'
src/tests/cmocka/test_utils-test_sss_ssh.o:src/tests/cmocka/test_sss_ssh.c:95:
    more undefined references to `sss_ssh_format_pubkey' follow
collect2: error: ld returned 1 exit status

Reviewed-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
(cherry picked from commit d82ffa52dd4c3bb11115b1687edc189284797329)
(cherry picked from commit f46d1474b7b249eda690e78b02adea981fbb058c)
</pre>
</div>
</content>
</entry>
<entry>
<title>libwbclient-sssd: wbcLookupSid() allow NULL arguments</title>
<updated>2017-01-21T19:19:25+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2016-12-22T10:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=d41d82fb81bb9c92aebd1ac955cb04ab62dd651e'/>
<id>d41d82fb81bb9c92aebd1ac955cb04ab62dd651e</id>
<content type='text'>
Some caller might not be interested in some of the values wbcLookupSid()
returns and just pass NULL. Currently 'net ads user info' does this
because it is not interested in the domain. wbcLookupSid() should handle
this gracefully.

Resolves:
https://fedorahosted.org/sssd/ticket/3273

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
(cherry picked from commit 0b78b4e32955ced0f35c6d4685bd277bb03d04cb)
(cherry picked from commit 924122b5457f8f93687a81d8171757c8036c8b0f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some caller might not be interested in some of the values wbcLookupSid()
returns and just pass NULL. Currently 'net ads user info' does this
because it is not interested in the domain. wbcLookupSid() should handle
this gracefully.

Resolves:
https://fedorahosted.org/sssd/ticket/3273

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
(cherry picked from commit 0b78b4e32955ced0f35c6d4685bd277bb03d04cb)
(cherry picked from commit 924122b5457f8f93687a81d8171757c8036c8b0f)
</pre>
</div>
</content>
</entry>
<entry>
<title>views: properly override group member names</title>
<updated>2016-11-08T07:55:39+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2016-07-07T16:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=8e19dce22b286f1f815cba7150149ab249a62854'/>
<id>8e19dce22b286f1f815cba7150149ab249a62854</id>
<content type='text'>
Resolves https://fedorahosted.org/sssd/ticket/2948

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 1594701fbdc341069e11cff9a85e7a795e52db3d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves https://fedorahosted.org/sssd/ticket/2948

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 1594701fbdc341069e11cff9a85e7a795e52db3d)
</pre>
</div>
</content>
</entry>
<entry>
<title>PAM: add pam_response_filter option</title>
<updated>2016-11-02T13:02:18+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2016-10-20T16:40:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=27e38ce07c3f2bb9682e2219ac2ac78e855d43b5'/>
<id>27e38ce07c3f2bb9682e2219ac2ac78e855d43b5</id>
<content type='text'>
Currently the main use-case for this new option is to not set the
KRB5CCNAME environment varible for services like 'sudo-i'.

Resolves https://fedorahosted.org/sssd/ticket/2296

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the main use-case for this new option is to not set the
KRB5CCNAME environment varible for services like 'sudo-i'.

Resolves https://fedorahosted.org/sssd/ticket/2296

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PAM: add a test for filter_responses()</title>
<updated>2016-11-02T13:02:14+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2016-10-20T09:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=5cbea81f6019d4c6acc94b8cec0b955d1767430b'/>
<id>5cbea81f6019d4c6acc94b8cec0b955d1767430b</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>TESTS: Fix check for py bindings in dlopen tests</title>
<updated>2016-10-17T18:51:30+00:00</updated>
<author>
<name>Fabiano Fidêncio</name>
<email>fidencio@redhat.com</email>
</author>
<published>2016-10-17T17:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=977e53a67cab7937f16f393b85e4d1afd478b9f4'/>
<id>977e53a67cab7937f16f393b85e4d1afd478b9f4</id>
<content type='text'>
The current code checks only for "HAVE_PYTHON_BINDINGS", which is not
even a valid check. Let's do the proper check according to the python
version (HAVE_PYTHON2_BINDINGS or HAVE_PYTHON3_BINDINGS).

Signed-off-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
(cherry picked from commit 8a681cc41672afd1532b4a0c7e9da3a4eb2014a7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current code checks only for "HAVE_PYTHON_BINDINGS", which is not
even a valid check. Let's do the proper check according to the python
version (HAVE_PYTHON2_BINDINGS or HAVE_PYTHON3_BINDINGS).

Signed-off-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
(cherry picked from commit 8a681cc41672afd1532b4a0c7e9da3a4eb2014a7)
</pre>
</div>
</content>
</entry>
</feed>
