<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/responder/secrets, branch ad_domain_local_groups</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/'/>
<entry>
<title>SECRETS: Make reading the config options more uniform</title>
<updated>2016-08-30T11:50:39+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2016-08-16T18:59:30+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=ff35d4ffe5eedcb484deb7ef1a04c02c19e634c9'/>
<id>ff35d4ffe5eedcb484deb7ef1a04c02c19e634c9</id>
<content type='text'>
One of confdb_get_ calls in sec_get_config() used a variable referenced
from rctx, the other used a hardcoded string. Use one of them on both
places instead.

Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One of confdb_get_ calls in sec_get_config() used a variable referenced
from rctx, the other used a hardcoded string. Use one of them on both
places instead.

Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SECRETS: Make internal function static</title>
<updated>2016-08-30T11:50:31+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2016-08-16T18:53:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=cf902c2b247c1b5793ae0ba58fd2dcbb0f78b686'/>
<id>cf902c2b247c1b5793ae0ba58fd2dcbb0f78b686</id>
<content type='text'>
Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SECRETS: Return ENOENT when_deleting a non-existent secret</title>
<updated>2016-08-26T13:25:03+00:00</updated>
<author>
<name>Fabiano Fidêncio</name>
<email>fidencio@redhat.com</email>
</author>
<published>2016-08-17T11:12:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=c4a3b24dc70fb50c8c0cc5490c29a3755d8b1b73'/>
<id>c4a3b24dc70fb50c8c0cc5490c29a3755d8b1b73</id>
<content type='text'>
For this, just make use of the sysdb_error_to_errno() function.

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

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

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For this, just make use of the sysdb_error_to_errno() function.

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

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

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SECRETS: Use sss_atomic_read/write for better readability</title>
<updated>2016-08-17T14:55:23+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2016-08-08T11:50:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=942b4ce6e60e88e4e31600655fad8980f3986f68'/>
<id>942b4ce6e60e88e4e31600655fad8980f3986f68</id>
<content type='text'>
sss_atomic_read_s and sss_atomic_write_s are macro-wrappers around
sss_atomic_io_s but it's easier to follow the code with the read/write
vairants used directly.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
Reviewed-by: Fabiano Fidêncio &lt;fabiano@fidencio.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sss_atomic_read_s and sss_atomic_write_s are macro-wrappers around
sss_atomic_io_s but it's easier to follow the code with the read/write
vairants used directly.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
Reviewed-by: Fabiano Fidêncio &lt;fabiano@fidencio.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Amend debug messages after failure of unlink</title>
<updated>2016-07-25T13:49:20+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-07-25T07:11:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=bc7991db97482eb2ac77f7105ee4bb3d329acff7'/>
<id>bc7991db97482eb2ac77f7105ee4bb3d329acff7</id>
<content type='text'>
Some messages did not have errno or name of problematic file.
There was also improper use of negative value.
The function strerror was called with -1 instead of errno

Reviewed-by: Petr Čech &lt;pcech@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some messages did not have errno or name of problematic file.
There was also improper use of negative value.
The function strerror was called with -1 instead of errno

Reviewed-by: Petr Čech &lt;pcech@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SECRETS: Log message for failures with removing file</title>
<updated>2016-07-22T11:05:31+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-07-22T07:53:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=6c82774653f37945bdd0a311eb1ecc289cac683d'/>
<id>6c82774653f37945bdd0a311eb1ecc289cac683d</id>
<content type='text'>
Type: Unchecked return value
Reported by coverity

Reviewed-by: Petr Čech &lt;pcech@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Type: Unchecked return value
Reported by coverity

Reviewed-by: Petr Čech &lt;pcech@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Secrets: Fix format string</title>
<updated>2016-07-01T08:53:31+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-06-30T13:23:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=3e81e71124c75fd8709704e38561fa1f9d5bfbc2'/>
<id>3e81e71124c75fd8709704e38561fa1f9d5bfbc2</id>
<content type='text'>
body-&gt;length has type size_t and not long unsigned.
size_t does not have the same size on 64 bit and 32 bit platform

src/responder/secrets/providers.c: In function 'sec_http_reply_with_body':
src/responder/secrets/providers.c:204:25: error: format '%lu' expects argument
  of type 'long unsigned int', but argument 6 has type
  'size_t {aka unsigned int}' [-Werror=format=]
                         "HTTP/1.1 %d %s\r\n"
                         "Content-Type: %s\r\n"
                         "Content-Length: %lu\r\n"
                         ^
Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
body-&gt;length has type size_t and not long unsigned.
size_t does not have the same size on 64 bit and 32 bit platform

src/responder/secrets/providers.c: In function 'sec_http_reply_with_body':
src/responder/secrets/providers.c:204:25: error: format '%lu' expects argument
  of type 'long unsigned int', but argument 6 has type
  'size_t {aka unsigned int}' [-Werror=format=]
                         "HTTP/1.1 %d %s\r\n"
                         "Content-Type: %s\r\n"
                         "Content-Length: %lu\r\n"
                         ^
Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Secrets: Add local container entries support</title>
<updated>2016-06-29T19:47:02+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2016-06-29T19:27:14+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=a9d46b86993ee8d87fddf0ba50665c0b1b78ebb7'/>
<id>a9d46b86993ee8d87fddf0ba50665c0b1b78ebb7</id>
<content type='text'>
The protocol requires a user to creat a container efore trying to store
an entry in it. Do the same in the local provider so that no surprises
arise when admins route request to a remote storage server.

Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The protocol requires a user to creat a container efore trying to store
an entry in it. Do the same in the local provider so that no surprises
arise when admins route request to a remote storage server.

Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Local secrets provider Content-Type handling</title>
<updated>2016-06-29T19:46:57+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2016-03-17T19:48:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=e625eb47a3091d92eda2271b123f8aab06227b63'/>
<id>e625eb47a3091d92eda2271b123f8aab06227b63</id>
<content type='text'>
Properly handle and enforce ithe presence of the content-type header
in the local and proxy providers to conform to the Custoida protocol.
Avoids different behavior between the local provider and a remote server
that may cause developers to have an application working against the
local storage and then fail when the administrator configures a remote
storage.

Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Properly handle and enforce ithe presence of the content-type header
in the local and proxy providers to conform to the Custoida protocol.
Avoids different behavior between the local provider and a remote server
that may cause developers to have an application working against the
local storage and then fail when the administrator configures a remote
storage.

Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Secrets: Add Proxy backend</title>
<updated>2016-06-29T19:46:55+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2016-05-09T16:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/sssd.git/commit/?id=8f2a34cc6964a1f80a1434e05315a7ae0bb5774e'/>
<id>8f2a34cc6964a1f80a1434e05315a7ae0bb5774e</id>
<content type='text'>
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simo Sorce &lt;simo@redhat.com&gt;

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
