<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git, 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>sudo: always use srv_opts from id context</title>
<updated>2017-11-06T11:10:44+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2017-10-19T08:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=2c0a0f2babecc3438734cff7bd01362723c59331'/>
<id>2c0a0f2babecc3438734cff7bd01362723c59331</id>
<content type='text'>
Prior this patch, we remember id_ctx-&gt;srv_opts in sudo request to switch
the latest usn values. This works fine most of the time but it may cause
a crash.

If we have two concurrent sudo refresh and one of these fails, it causes
failover to try the next server and possibly replacing the old srv_opts
with new one and it causes an access after free in the other refresh.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior this patch, we remember id_ctx-&gt;srv_opts in sudo request to switch
the latest usn values. This works fine most of the time but it may cause
a crash.

If we have two concurrent sudo refresh and one of these fails, it causes
failover to try the next server and possibly replacing the old srv_opts
with new one and it causes an access after free in the other refresh.
</pre>
</div>
</content>
</entry>
<entry>
<title>PAM: Fix domain for UPN based lookups</title>
<updated>2017-10-13T08:30:56+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2016-07-22T15:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=3542fe821765cad1f25f6c2a077b55fc1d7d0553'/>
<id>3542fe821765cad1f25f6c2a077b55fc1d7d0553</id>
<content type='text'>
Since sysdb_search_user_by_upn() searches the whole cache we have to set
the domain so that it matches the result.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 9b8fcf685c5ca70a5067a621385bcdc8d9fd6469)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since sysdb_search_user_by_upn() searches the whole cache we have to set
the domain so that it matches the result.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 9b8fcf685c5ca70a5067a621385bcdc8d9fd6469)
</pre>
</div>
</content>
</entry>
<entry>
<title>NSS: use different neg cache name for UPN searches</title>
<updated>2017-10-13T08:30:56+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2016-07-22T14:01:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=7f95edc43d9fc410aab5712552e17f28932ba344'/>
<id>7f95edc43d9fc410aab5712552e17f28932ba344</id>
<content type='text'>
If Kerberos principals or email address have the same domain suffix as
the domain itself the first user lookup by name might have already added
the name to the negative cache and the second lookup by UPN/email will
skip the domain because of the neg cache entry. To avoid this a special
name with a '@' prefix is used here.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 62df78512145db94b51c5573d4df1737197e368a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If Kerberos principals or email address have the same domain suffix as
the domain itself the first user lookup by name might have already added
the name to the negative cache and the second lookup by UPN/email will
skip the domain because of the neg cache entry. To avoid this a special
name with a '@' prefix is used here.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 62df78512145db94b51c5573d4df1737197e368a)
</pre>
</div>
</content>
</entry>
<entry>
<title>PAM: continue with UPN/email search if name was not found</title>
<updated>2017-10-13T08:30:56+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2016-06-22T16:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=07db882d99e2036be94dd305ba50587733b5f3a1'/>
<id>07db882d99e2036be94dd305ba50587733b5f3a1</id>
<content type='text'>
Currently we only search for UPNs if the domain part of the name was not
know, with Kerberos aliases and email addresses we have to do this even
if the domain name is a know domain.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 3381d9736b698d6111d10e219a0b5b898a4c757c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently we only search for UPNs if the domain part of the name was not
know, with Kerberos aliases and email addresses we have to do this even
if the domain name is a know domain.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 3381d9736b698d6111d10e219a0b5b898a4c757c)
</pre>
</div>
</content>
</entry>
<entry>
<title>NSS: continue with UPN/email search if name was not found</title>
<updated>2017-10-13T08:30:56+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2016-06-21T09:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=6b55915c3939da6e2474633d79783f838627a4b1'/>
<id>6b55915c3939da6e2474633d79783f838627a4b1</id>
<content type='text'>
Currently we only search for UPNs if the domain part of the name was not
know, with Kerberos aliases and email addresses we have to do this even
if the domain name is a know domain.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 447b1da857368678990b54cd6b9cfed940357c44)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently we only search for UPNs if the domain part of the name was not
know, with Kerberos aliases and email addresses we have to do this even
if the domain name is a know domain.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit 447b1da857368678990b54cd6b9cfed940357c44)
</pre>
</div>
</content>
</entry>
<entry>
<title>BUILD: Accept krb5 1.16 for building the PAC plugin</title>
<updated>2017-10-09T11:31:33+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2017-10-09T07:55:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=d9f1ebef65146b856062dcda88d813a0bfe2e96a'/>
<id>d9f1ebef65146b856062dcda88d813a0bfe2e96a</id>
<content type='text'>
Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
(cherry picked from commit ce68b4ff25cbd52935a540046f0412ce869a27a5)
(cherry picked from commit 09ba77f7de5011d4871fd261ab5291649f025404)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
(cherry picked from commit ce68b4ff25cbd52935a540046f0412ce869a27a5)
(cherry picked from commit 09ba77f7de5011d4871fd261ab5291649f025404)
</pre>
</div>
</content>
</entry>
<entry>
<title>GPO: Don't use freed LDAPURLDesc if domain for AD DC cannot be found</title>
<updated>2017-10-09T08:01:44+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2017-09-20T20:26:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=38ce53d228c077b799b8b712c485fb643058d7a4'/>
<id>38ce53d228c077b799b8b712c485fb643058d7a4</id>
<content type='text'>
If a referral returned during AD GPO processing cannot be assigned to a
known domain, at the moment SSSD accesses memory that was freed
previously with ldap_free_urldesc().

This patch moves the ldap_free_urldesc() call to both the error handler
and the success branch after we are done working with the LDAPURLDesc
instance.

Reviewed-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
(cherry picked from commit 381bc154ef06fd3cc0660ce0fd62504367f420f5)
(cherry picked from commit d3f5675022b398b60252cc4cd712edc481d89b70)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a referral returned during AD GPO processing cannot be assigned to a
known domain, at the moment SSSD accesses memory that was freed
previously with ldap_free_urldesc().

This patch moves the ldap_free_urldesc() call to both the error handler
and the success branch after we are done working with the LDAPURLDesc
instance.

Reviewed-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
(cherry picked from commit 381bc154ef06fd3cc0660ce0fd62504367f420f5)
(cherry picked from commit d3f5675022b398b60252cc4cd712edc481d89b70)
</pre>
</div>
</content>
</entry>
<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>CI: Use dnf 2.x for installation of packages in fedora</title>
<updated>2017-09-14T13:48:18+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2017-09-11T07:57:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=f210542365abb475695b1b1b17aed1c332e93caa'/>
<id>f210542365abb475695b1b1b17aed1c332e93caa</id>
<content type='text'>
Weak dependencies are intentionally disabled. If we need them
then they should be explicitly specified because they are not weak.

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

Reviewed-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
(cherry picked from commit 51c4da6e4941dfc5fca40bffa2248b9a77f139b2)
(cherry picked from commit 0984355ef5f4899a593038ea6ad54c4db67ce78e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Weak dependencies are intentionally disabled. If we need them
then they should be explicitly specified because they are not weak.

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

Reviewed-by: Fabiano Fidêncio &lt;fidencio@redhat.com&gt;
(cherry picked from commit 51c4da6e4941dfc5fca40bffa2248b9a77f139b2)
(cherry picked from commit 0984355ef5f4899a593038ea6ad54c4db67ce78e)
</pre>
</div>
</content>
</entry>
<entry>
<title>SPEC: Fix detecting of minor release</title>
<updated>2017-09-14T13:15:39+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2017-09-14T07:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=914d1694467bb507982d076b2b49991d563e587b'/>
<id>914d1694467bb507982d076b2b49991d563e587b</id>
<content type='text'>
INFO: Installed packages:
Start: build phase for sssd-1.15.4-0.el7.src.rpm
Start: build setup for sssd-1.15.4-0.el7.src.rpm
error: unmatched (
error: unmatched (
error: /builddir/build/SPECS/sssd.spec:56: bad %if condition

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit c20a9efbf5da0587fbb6a855a2d366ce19f1abe1)
(cherry picked from commit b788aaa4341bcd0c1f0fc3081c540af958de8d45)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
INFO: Installed packages:
Start: build phase for sssd-1.15.4-0.el7.src.rpm
Start: build setup for sssd-1.15.4-0.el7.src.rpm
error: unmatched (
error: unmatched (
error: /builddir/build/SPECS/sssd.spec:56: bad %if condition

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
(cherry picked from commit c20a9efbf5da0587fbb6a855a2d366ce19f1abe1)
(cherry picked from commit b788aaa4341bcd0c1f0fc3081c540af958de8d45)
</pre>
</div>
</content>
</entry>
</feed>
