<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/lib, 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>SIFP: Fix warning format-security</title>
<updated>2016-12-02T10:02:29+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-12-01T12:13:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=701e03686cc014bd46a37257593d841e31f880b1'/>
<id>701e03686cc014bd46a37257593d841e31f880b1</id>
<content type='text'>
dbus-1.11.8 added attributes for format string check to
few functions in public header files. And therefore there is a warning.

src/lib/sifp/sss_sifp_utils.c: In function ‘sss_sifp_set_io_error’:
src/lib/sifp/sss_sifp_utils.c:44:5: error: format not a string literal
and no format arguments [-Werror=format-security]
     dbus_set_error(ctx-&gt;io_error, error-&gt;name, error-&gt;message);
                                                ^~~~~~~~~~~~~~

Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
(cherry picked from commit 8618716d6ed4eadca2743eb2dfbbb8d11c4fb22f)
(cherry picked from commit 043862847cee673084a56f387d195deb82386de7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dbus-1.11.8 added attributes for format string check to
few functions in public header files. And therefore there is a warning.

src/lib/sifp/sss_sifp_utils.c: In function ‘sss_sifp_set_io_error’:
src/lib/sifp/sss_sifp_utils.c:44:5: error: format not a string literal
and no format arguments [-Werror=format-security]
     dbus_set_error(ctx-&gt;io_error, error-&gt;name, error-&gt;message);
                                                ^~~~~~~~~~~~~~

Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
(cherry picked from commit 8618716d6ed4eadca2743eb2dfbbb8d11c4fb22f)
(cherry picked from commit 043862847cee673084a56f387d195deb82386de7)
</pre>
</div>
</content>
</entry>
<entry>
<title>IDMAP: Fix minor memory leak</title>
<updated>2016-01-28T14:07:06+00:00</updated>
<author>
<name>Pavel Reichl</name>
<email>preichl@redhat.com</email>
</author>
<published>2016-01-22T17:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=fe8d58c75da2b9b3704bb2ae19f8014323797757'/>
<id>fe8d58c75da2b9b3704bb2ae19f8014323797757</id>
<content type='text'>
Reviewed-by: Michal Židek &lt;mzidek@redhat.com&gt;
(cherry picked from commit 5554a2a679f72f19f266d660a5681e3b0c657379)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Michal Židek &lt;mzidek@redhat.com&gt;
(cherry picked from commit 5554a2a679f72f19f266d660a5681e3b0c657379)
</pre>
</div>
</content>
</entry>
<entry>
<title>IDMAP: Add support for automatic adding of ranges</title>
<updated>2016-01-20T17:13:31+00:00</updated>
<author>
<name>Pavel Reichl</name>
<email>preichl@redhat.com</email>
</author>
<published>2015-11-27T09:15:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=4d7877584e41c4494624f06144b3716db8979b5f'/>
<id>4d7877584e41c4494624f06144b3716db8979b5f</id>
<content type='text'>
Resolves:
https://fedorahosted.org/sssd/ticket/2188

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
(cherry picked from commit 8babbeee01e67893af4828ddfc922ecac0be4197)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves:
https://fedorahosted.org/sssd/ticket/2188

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
(cherry picked from commit 8babbeee01e67893af4828ddfc922ecac0be4197)
</pre>
</div>
</content>
</entry>
<entry>
<title>IDMAP: New structure for domain range params</title>
<updated>2016-01-20T17:13:31+00:00</updated>
<author>
<name>Pavel Reichl</name>
<email>preichl@redhat.com</email>
</author>
<published>2015-11-26T15:46:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=9fdc9707defb8110a1f8ebf7f7cf414b80ee7f15'/>
<id>9fdc9707defb8110a1f8ebf7f7cf414b80ee7f15</id>
<content type='text'>
Create new internal structure idmap_range_params by merging ID mapping
range relevant fields from idmap_domain_info and remove corrsponding
fields.

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

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
(cherry picked from commit c3cdd6a644a870531092e4378cbcd1a428ff514c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create new internal structure idmap_range_params by merging ID mapping
range relevant fields from idmap_domain_info and remove corrsponding
fields.

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

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
(cherry picked from commit c3cdd6a644a870531092e4378cbcd1a428ff514c)
</pre>
</div>
</content>
</entry>
<entry>
<title>IDMAP: Fix computing max id for slice range</title>
<updated>2016-01-20T17:13:31+00:00</updated>
<author>
<name>Pavel Reichl</name>
<email>preichl@redhat.com</email>
</author>
<published>2016-01-13T14:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=645933bcfd4acfb1729fcee2fee6c37b1acbfb92'/>
<id>645933bcfd4acfb1729fcee2fee6c37b1acbfb92</id>
<content type='text'>
Max value of id mapping range was 1 unit too high.

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

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
(cherry picked from commit 7db89d44b5582a0cb0a61a7aa42a2fac7ca9408f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Max value of id mapping range was 1 unit too high.

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

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
(cherry picked from commit 7db89d44b5582a0cb0a61a7aa42a2fac7ca9408f)
</pre>
</div>
</content>
</entry>
<entry>
<title>sss_sifp: set output parameters if attribute is NULL</title>
<updated>2014-07-16T15:31:42+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2014-07-01T09:55:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=973be642f3d33ba21ea9c06791295f09efcdba46'/>
<id>973be642f3d33ba21ea9c06791295f09efcdba46</id>
<content type='text'>
There are two cases that may happen when a user calls Get or GetAll:
1) the attribute is missing
2) the attribute is empty

sss_sifp has two error code to distinguish between those two cases:
1) SSS_SIFP_ATTR_MISSING
2) SSS_SIFP_ATTR_NULL

Usually the caller is not interested on situations when the attribute
is empty and it can be considered as error. Having it as a separate
error code instead of setting the output value to NULL is necesarry
since attribute does not have to be a pointer.

This patch however sets pointer type attributes to NULL since it may
simplify the code path when the caller is actually interested in
this information (e. g. empty server list on domain objects).

It is not possible to send a NULL string over a D-Bus nor it is
possible to have hash table NULL with current code so these two
scenarios are not tested. However, it is handled in sss_sifp_attr
code for completeness.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are two cases that may happen when a user calls Get or GetAll:
1) the attribute is missing
2) the attribute is empty

sss_sifp has two error code to distinguish between those two cases:
1) SSS_SIFP_ATTR_MISSING
2) SSS_SIFP_ATTR_NULL

Usually the caller is not interested on situations when the attribute
is empty and it can be considered as error. Having it as a separate
error code instead of setting the output value to NULL is necesarry
since attribute does not have to be a pointer.

This patch however sets pointer type attributes to NULL since it may
simplify the code path when the caller is actually interested in
this information (e. g. empty server list on domain objects).

It is not possible to send a NULL string over a D-Bus nor it is
possible to have hash table NULL with current code so these two
scenarios are not tested. However, it is handled in sss_sifp_attr
code for completeness.

Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>BUILD: Add version symbol files for public libraries.</title>
<updated>2014-07-09T12:45:05+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2014-06-09T12:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=f28b09f887870c10c8c611beee3c17eaa9ef74f3'/>
<id>f28b09f887870c10c8c611beee3c17eaa9ef74f3</id>
<content type='text'>
Version symbol files will help package systems to catch backward compatible
changes (newly added functions) into library.

The difference between libraries libsss_nss_idmap_test.so and
libsss_nss_idmap.so is that the 1st library will not be installed and has more
exported functions, which are necessary for mocking with cmocka for test
sss_nss_idmap-test.

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

Reviewed-by: Sumit Bose &lt;sbose@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>
Version symbol files will help package systems to catch backward compatible
changes (newly added functions) into library.

The difference between libraries libsss_nss_idmap_test.so and
libsss_nss_idmap.so is that the 1st library will not be installed and has more
exported functions, which are necessary for mocking with cmocka for test
sss_nss_idmap-test.

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

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sss_sifp: add prefix and exec_prefix to pkg-config</title>
<updated>2014-07-09T11:22:16+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2014-07-08T17:37:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=2202090b9e54b566b37361462d5cb4bb34b815a1'/>
<id>2202090b9e54b566b37361462d5cb4bb34b815a1</id>
<content type='text'>
Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sss_sifp: pkg-config requires is a comma separated list</title>
<updated>2014-07-09T11:22:12+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2014-07-02T11:45:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=da7a0a4622e9bb3232f30d868ed8d3b826c7ccc8'/>
<id>da7a0a4622e9bb3232f30d868ed8d3b826c7ccc8</id>
<content type='text'>
Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Lukáš Slebodník &lt;lslebodn@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sss_sifp: add shortcuts for common use cases</title>
<updated>2014-05-29T07:08:40+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2014-03-21T12:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pbrezina/public_git/sssd.git/commit/?id=0bb98b7700b1b61f5b0a20b93279d5c2c391007f'/>
<id>0bb98b7700b1b61f5b0a20b93279d5c2c391007f</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/2254

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/2254

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
