98195e591c4d97caa6125e8214879660b740973f |
|
27-Nov-2017 |
Sumit Bose <sbose@redhat.com> |
sysdb: do not use LDB_SCOPE_ONELEVEL
Currently the index for one-level searches is a huge blob which maps all
parents with all it children. Handling this blob is costly and since all
searches using LDB_SCOPE_ONELEVEL also have a filter with indexed
attributes a sub-tree search would be more efficient. But since libldb
currently first looks at the scope and hence use the one-level index
blob we have to explicitly use LDB_SCOPE_SUBTREE in the callers to use
the more efficient attribute based inxed.
Related to https://pagure.io/SSSD/sssd/issue/3503
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com> |
87f8bee53ee1b4ca87b602ff8536bc5fd5b5b595 |
|
17-Mar-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
Add missing new lines to debug messages
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
a3c8390d19593b1e5277d95bfb4ab206d4785150 |
|
12-Feb-2014 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
Make DEBUG macro invocations variadic
Use a script to update DEBUG macro invocations to use it as a variadic
macro, supplying format string and its arguments directly, instead of
wrapping them in parens.
This script was used to update the code:
grep -rwl --include '*.[hc]' DEBUG . |
while read f; do
mv "$f"{,.orig}
perl -e \
'use strict;
use File::Slurp;
my $text=read_file(\*STDIN);
$text=~s#(\bDEBUG\s*\([^(]+)\((.*?)\)\s*\)\s*;#$1$2);#gs;
print $text;' < "$f.orig" > "$f"
rm "$f.orig"
done
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com> |
e2ac9be4f293b96f3c8992f1171e44bc1da5cfca |
|
15-Nov-2013 |
Michal Zidek <mzidek@redhat.com> |
SYSDB: Drop redundant sysdb_ctx parameter from sysdb.c |
d115f40c7a3999e3cbe705a2ff9cf0fd493f80fb |
|
15-Nov-2013 |
Michal Zidek <mzidek@redhat.com> |
SYSDB: Drop the sysdb_ctx parameter - module sysdb_ops (part 2) |
e7d1cd14ce1a427007b1a7e9789dcb7e9619f84f |
|
15-Nov-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
SYSDB: Drop the sysdb_ctx parameter from the autofs API |
0e65abe5cf2abf5d4b431cf6bd161b419f07901d |
|
11-Sep-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
Fix formating of variables with type: size_t |
2234d49c8a307ee4f11cc544c862a359f76b44ad |
|
21-Jan-2013 |
Jakub Hrozek <jhrozek@redhat.com> |
LDAP: Compare lists of DNs when saving autofs entries
https://fedorahosted.org/sssd/ticket/1758
The autofs entries do not have the key as an unique identifier, but
rather the full (key, value) tuple as some keys have a special meaning,
such as the direct mount key (/-) and may be present in a single map
multiple times.
Comparing the full DN that contains both the key and the value will
allow for working updates if either key or value changes. |
2913240aee51ce81195148a4d814e967f66839c4 |
|
15-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Add domain argument to sysdb autofs functions |
a703ed242523c145133f522085ee3180452b3743 |
|
15-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Add domain to sysdb_delete_custom |
770896b194b7b66b09c2a30545b4d091fd86b1f4 |
|
15-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Add domain argument to sysdb_search_custom()
Also changes sysdb_search_custom_by_name() |
dd7192379e5fc5bb852863e60ad4b6a20c5da183 |
|
15-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Add domain argument to sysdb_store_custom() |
de526c8425886ca3bed8f07a0f092ba5ac325654 |
|
15-Jan-2013 |
Simo Sorce <simo@redhat.com> |
Make sysdb_custom_dn() require a domain. |
ba153306e0e551731a3ee2c31c26cd1d63052ff8 |
|
18-Dec-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
SYSDB: Add API to invalidate all map objects
This sysdb API will be used later to invalidate the autofs maps |
6ab9f4763b516c3a7cdc021f501f276dd805fc97 |
|
18-Dec-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
SYSDB: fix copy-n-paste error |
95f5e7963a36b7b68859ce91ae4b232088bbaa09 |
|
24-Sep-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
SYSDB: Remove unnecessary domain parameter from several sysdb calls
The domain can be read from the sysdb object. Removing the domain string
makes the API more self-contained. |
e75a152157e054a2ed46acecbe8b5cfb9853773c |
|
24-Sep-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
AUTOFS: Use both key and value in entry RDN
This patch switches from using just key in the RDN to using both key and
value. That is neccessary to allow multiple direct mounts in a single
map. |
f17d26a8db285622a5cd5f21c7488b62eedc2cf8 |
|
24-Sep-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
AUTOFS: Add entry objects below map objects
https://fedorahosted.org/sssd/ticket/1506
Changes how the new autofs entry objects are handled. Instead of
creating the entry on the cn=autofs,cn=custom level, the entry is
created below the map it belongs to. |
3a59cbd0b7b9c5dd3c62ac1679876070c264d80f |
|
04-Sep-2012 |
Michal Zidek <mzidek@redhat.com> |
Unify usage of sysdb transactions (part 2). |
eb29ae58117ca88868491fe2240e27393c7a9068 |
|
18-Apr-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
Add sysdb_set_service_attr and sysdb_set_autofsmap_attr |
1f1e6cbc59868f06dee3ab4b3df660fcb77ce1c8 |
|
06-Feb-2012 |
Jakub Hrozek <jhrozek@redhat.com> |
AUTOFS: sysdb interface |