<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/db/sysdb_search.c, branch openssl</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/'/>
<entry>
<title>views: properly override group member names</title>
<updated>2016-07-29T12:44:28+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/lslebodn/public_git/sssd.git/commit/?id=1594701fbdc341069e11cff9a85e7a795e52db3d'/>
<id>1594701fbdc341069e11cff9a85e7a795e52db3d</id>
<content type='text'>
Resolves https://fedorahosted.org/sssd/ticket/2948

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</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;
</pre>
</div>
</content>
</entry>
<entry>
<title>SYSDB: Search functions don't need to construct per-domain names</title>
<updated>2016-07-07T08:24:50+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2016-06-15T14:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=095c198509601e30281d64becebdf47171a2f5b4'/>
<id>095c198509601e30281d64becebdf47171a2f5b4</id>
<content type='text'>
All user and group names are standardized to be fully qualified, so
there's no need to provide per-domain names anymore.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All user and group names are standardized to be fully qualified, so
there's no need to provide per-domain names anymore.

Reviewed-by: Jakub Hrozek &lt;jhrozek@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sysdb: Use ldb_result as output in sysdb_search_ts_{users,groups}</title>
<updated>2016-07-06T15:27:30+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2016-07-01T20:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=5d0d0f8067fb53285a38fe978cfa36dbeb53be9b'/>
<id>5d0d0f8067fb53285a38fe978cfa36dbeb53be9b</id>
<content type='text'>
Passing address of unsigned to the output argument size_t causes
access out of boundaries for type unsigned and and wrong data
on big endian. It looks like functions sysdb_search_ts_{users,groups}
need to store results in structure ldb_result anyway for further processing.
Therefore it will be better to convert output arguments
size_t* + ldb_message*** into structure ldb_result and avoid using
additional helper variable with type size_t before each invocation
of these functions.

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Passing address of unsigned to the output argument size_t causes
access out of boundaries for type unsigned and and wrong data
on big endian. It looks like functions sysdb_search_ts_{users,groups}
need to store results in structure ldb_result anyway for further processing.
Therefore it will be better to convert output arguments
size_t* + ldb_message*** into structure ldb_result and avoid using
additional helper variable with type size_t before each invocation
of these functions.

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SYSDB: If modifyTimestamp is the same, only update the TS cache</title>
<updated>2016-06-23T11:47:07+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2016-05-23T16:18:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=a257259b05d62ebe548b6c798a3aa03a97dbc0c2'/>
<id>a257259b05d62ebe548b6c798a3aa03a97dbc0c2</id>
<content type='text'>
Resolves:
    https://fedorahosted.org/sssd/ticket/2602

If the entry being saved contains the original modifyTimestamp attribute
and the modifyTimestamp attribute is the same as the one we already
saved to the timestamp cache, only the expire timestamps in the
asynchronous timestamp cache will be bumped and the sysdb code will
avoid writes to the main cache completely. If the modifyTimestamp is
either missing or differs, we assume the entry had changed and do a full
write to the main cache.

Also amends the generic sysdb_set_attrs* and similar functions that
their results is also reflected in the timestamps cache.

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

If the entry being saved contains the original modifyTimestamp attribute
and the modifyTimestamp attribute is the same as the one we already
saved to the timestamp cache, only the expire timestamps in the
asynchronous timestamp cache will be bumped and the sysdb code will
avoid writes to the main cache completely. If the modifyTimestamp is
either missing or differs, we assume the entry had changed and do a full
write to the main cache.

Also amends the generic sysdb_set_attrs* and similar functions that
their results is also reflected in the timestamps cache.

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SYSDB: Search the timestamp caches in addition to the sysdb cache</title>
<updated>2016-06-23T11:40:11+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2016-05-18T12:30:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=dd285415d7a8d8376207960cfa3e977524c3b98c'/>
<id>dd285415d7a8d8376207960cfa3e977524c3b98c</id>
<content type='text'>
When a sysdb entry is searched, the sysdb cache is consulted first
for users or groups. If an entry is found in the sysdb cache, the
attributes from the timestamp cache are merged to return the full and
up-to-date set of attributes.

The merging is done with a single BASE search which is a direct lookup
into the underlying key-value database, so it should be relatively fast.
More complex merging is done only for enumeration by filter which is
currently done only via the IFP back end and should be quite
infrequent, so I hope we can justify a more complex merging there.

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a sysdb entry is searched, the sysdb cache is consulted first
for users or groups. If an entry is found in the sysdb cache, the
attributes from the timestamp cache are merged to return the full and
up-to-date set of attributes.

The merging is done with a single BASE search which is a direct lookup
into the underlying key-value database, so it should be relatively fast.
More complex merging is done only for enumeration by filter which is
currently done only via the IFP back end and should be quite
infrequent, so I hope we can justify a more complex merging there.

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sysdb: add searches by certificate with overrides</title>
<updated>2016-06-09T14:12:25+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2016-04-06T09:12:30+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=6cb34580ee6e9e2c9190b77b10db8a3c43e3c9c8'/>
<id>6cb34580ee6e9e2c9190b77b10db8a3c43e3c9c8</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>cache_req: add support for UPN</title>
<updated>2015-10-08T17:56:26+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2015-05-06T10:16:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=28ebfa4373d1e7ce45b5d70a3619df1c074a661e'/>
<id>28ebfa4373d1e7ce45b5d70a3619df1c074a661e</id>
<content type='text'>
Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>views: allow ghost members for LOCAL view</title>
<updated>2015-09-18T11:22:03+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2015-09-17T12:46:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=87e0dcaff945f8b8f30030309e16ba26935fcb7b'/>
<id>87e0dcaff945f8b8f30030309e16ba26935fcb7b</id>
<content type='text'>
LOCAL view does not allow the case when both ghost member and
user override is created so it is safe to allow ghost members
for this view.

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

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LOCAL view does not allow the case when both ghost member and
user override is created so it is safe to allow ghost members
for this view.

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

Reviewed-by: Sumit Bose &lt;sbose@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update few debug messages</title>
<updated>2015-07-17T08:58:52+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2015-07-14T11:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=890ae77c52e36f222655d710439d2fe25f15101b'/>
<id>890ae77c52e36f222655d710439d2fe25f15101b</id>
<content type='text'>
It reduces a noise caused by canonicalization of non-existing user.

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

Reviewed-by: Pavel Reichl &lt;preichl@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It reduces a noise caused by canonicalization of non-existing user.

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

Reviewed-by: Pavel Reichl &lt;preichl@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>SYSDB: Add functions to look up multiple entries including name and custom filter</title>
<updated>2015-07-15T15:32:16+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2015-03-24T22:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/lslebodn/public_git/sssd.git/commit/?id=696c17580b49d6817f1dd33915e0e209dcfe4225'/>
<id>696c17580b49d6817f1dd33915e0e209dcfe4225</id>
<content type='text'>
Related:
    https://fedorahosted.org/sssd/ticket/2553

Adds new sysdb function:
    - sysdb_enumpwent_filter
    - sysdb_enumpwent_filter_with_views
    - sysdb_enumgrent_filter
    - sysdb_enumgrent_filter_with_views

These are similar to enumeration functions, but optionally allow to
specify a filter to be applied on user/group names. Also an additional
custom filter can be applied.

Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related:
    https://fedorahosted.org/sssd/ticket/2553

Adds new sysdb function:
    - sysdb_enumpwent_filter
    - sysdb_enumpwent_filter_with_views
    - sysdb_enumgrent_filter
    - sysdb_enumgrent_filter_with_views

These are similar to enumeration functions, but optionally allow to
specify a filter to be applied on user/group names. Also an additional
custom filter can be applied.

Reviewed-by: Pavel Březina &lt;pbrezina@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
