<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/providers/ldap/sdap_sudo.c, 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>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>Add default section to switch statement</title>
<updated>2012-12-19T17:42:58+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2012-12-19T09:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=767a679fd5ac2f409476180c0dbcd8ecbe991503'/>
<id>767a679fd5ac2f409476180c0dbcd8ecbe991503</id>
<content type='text'>
switch statements should always have a default section. In this
particular case gcc gave a "'send_fn' may be used uninitialized in this
function" warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
switch statements should always have a default section. In this
particular case gcc gave a "'send_fn' may be used uninitialized in this
function" warning.
</pre>
</div>
</content>
</entry>
<entry>
<title>sudo: do full refresh when data provider is back online</title>
<updated>2012-12-18T16:15:22+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2012-12-14T13:19:44+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=dcb712782ed81cd19fc5d9a5dab37e50294d6f2e'/>
<id>dcb712782ed81cd19fc5d9a5dab37e50294d6f2e</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1689

Add a online callback if the first full refresh fails due to the
provider beeing offline so we can perform the refresh as soon as
possible.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1689

Add a online callback if the first full refresh fails due to the
provider beeing offline so we can perform the refresh as soon as
possible.
</pre>
</div>
</content>
</entry>
<entry>
<title>sudo: schedule another full refresh in short interval if the first fails</title>
<updated>2012-12-18T16:15:22+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2012-12-14T11:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=5860e321d82d007a5b7f4a1ff9a3893156e22b19'/>
<id>5860e321d82d007a5b7f4a1ff9a3893156e22b19</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1689

If the first full refresh of sudo rules fails because the data provider
is offline, we will schedule another one in 2, 4, ... minutes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1689

If the first full refresh of sudo rules fails because the data provider
is offline, we will schedule another one in 2, 4, ... minutes.
</pre>
</div>
</content>
</entry>
<entry>
<title>check dp error in sdap_sudo_full_refresh_done()</title>
<updated>2012-12-18T16:15:22+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2012-12-14T11:29:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=e5c9834c45849cbf82ea420fa3e0efdc102cc26e'/>
<id>e5c9834c45849cbf82ea420fa3e0efdc102cc26e</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1689
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1689
</pre>
</div>
</content>
</entry>
<entry>
<title>add sdap_sudo_schedule_refresh()</title>
<updated>2012-12-18T16:15:22+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2012-12-14T12:15:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=260366c37cafab011cf48760eaf04282098ef800'/>
<id>260366c37cafab011cf48760eaf04282098ef800</id>
<content type='text'>
Reduces amount of code duplication.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduces amount of code duplication.
</pre>
</div>
</content>
</entry>
<entry>
<title>sudo: don't get stuck in rules and smart refresh when offline</title>
<updated>2012-12-11T15:10:32+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2012-12-04T14:17:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=3f23f27cd77eb4dbf362a0a4fdfbe0b18a2fb714'/>
<id>3f23f27cd77eb4dbf362a0a4fdfbe0b18a2fb714</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1682

The problem was in following code:
if (ret != EOK || state-&gt;dp_error != DP_ERR_OK || state-&gt;error != EOK) {
    tevent_req_error(req, ret);
    return;
}

In situation when data provider error occurs (e.g. when offline),
ret == EOK but dp_error != DP_ERR_OK and we take the true branch.
This results in calling tevent_req_error(req, EOK).

Unfortunately, with EOK tevent_req_error only returns false, but
does not trigger callback and this tevent request hangs forever,
because no tevent_req_done(req) is called.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1682

The problem was in following code:
if (ret != EOK || state-&gt;dp_error != DP_ERR_OK || state-&gt;error != EOK) {
    tevent_req_error(req, ret);
    return;
}

In situation when data provider error occurs (e.g. when offline),
ret == EOK but dp_error != DP_ERR_OK and we take the true branch.
This results in calling tevent_req_error(req, EOK).

Unfortunately, with EOK tevent_req_error only returns false, but
does not trigger callback and this tevent request hangs forever,
because no tevent_req_done(req) is called.
</pre>
</div>
</content>
</entry>
<entry>
<title>SUDO: strdup the input variable</title>
<updated>2012-12-07T16:25:22+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2012-12-07T14:05:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=cf10b80d63916e5686545156264a6ed2306cc5bb'/>
<id>cf10b80d63916e5686545156264a6ed2306cc5bb</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1701
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1701
</pre>
</div>
</content>
</entry>
<entry>
<title>fix -O3 variable may be uninitialized warnings</title>
<updated>2012-11-16T16:54:46+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2012-11-09T14:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=2faa9ecad5a45a949be5ea95aa9e140eeba0fe68'/>
<id>2faa9ecad5a45a949be5ea95aa9e140eeba0fe68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sudo: store rules with no sudoHost attribute</title>
<updated>2012-11-15T19:09:43+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2012-11-13T12:53:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/sssd.git/commit/?id=4080c54ed0438a74cbe5e4faaa444a9d21d1b546'/>
<id>4080c54ed0438a74cbe5e4faaa444a9d21d1b546</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1640

Normal rules requires that sudoHost attribute is present. But this
attribute is not mandatory for a special rule named cn=defaults.

This patch modifies filter so that we store even rules that doesn't
have sudoHost attribute specified. SUDO will then decide whether it
is allowed or not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1640

Normal rules requires that sudoHost attribute is present. But this
attribute is not mandatory for a special rule named cn=defaults.

This patch modifies filter so that we store even rules that doesn't
have sudoHost attribute specified. SUDO will then decide whether it
is allowed or not.
</pre>
</div>
</content>
</entry>
</feed>
