c0f9f5a0f6d71a1596ee3cef549b4b02295313c3 |
|
06-Dec-2017 |
Jakub Hrozek <jhrozek@redhat.com> |
DP: Create a new handler function getAccountDomain()
Adds a new method getAccountDomain() which is a bit similar to
getAccountInfo, except it doesn't fetch, parse and store the entry, but
just returns the domain or a subdomain the entry was found in.
At the moment, the method only supports requests by ID.
A default handler is provided (and in this patch used by all the
domains) which returns ERR_GET_ACCT_DOM_NOT_SUPPORTED. This return
code should be evaluated by the responder so that this DP method is
not called again, because it's not supported by the back end type.
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Sumit Bose <sbose@redhat.com> |
e737cdfa225e0d455c0e574bcb82c2cc16a17d9d |
|
21-Nov-2017 |
Pavel Březina <pbrezina@redhat.com> |
dp: add method to refresh access control rules
Related:
https://pagure.io/SSSD/sssd/issue/2840
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
054900ab42a8b865a2257f94c66484e0a022a90c |
|
08-Jun-2017 |
Lukas Slebodnik <lslebodn@redhat.com> |
codegen: Remove util.h from generated files
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> |
ca68b1b4ba06b1cda316ae8af470647bd7015a5a |
|
16-Jan-2017 |
Lukas Slebodnik <lslebodn@redhat.com> |
DP: Remove unused attr_type from struct dp_id_data
Structure member attr_type was set to BE_ATTR_CORE on all places
and there was a single place src/providers/ldap/ldap_id.c where
we checked to other values. It is not used anymore; it's better to
remove it.
Reviewed-by: Michal Židek <mzidek@redhat.com> |
bd4c2ed5aec7f57ea04500f0e43f151eedfdde45 |
|
16-Aug-2016 |
Pavel Březina <pbrezina@redhat.com> |
sssctl: print active server and server list
Resolves:
https://fedorahosted.org/sssd/ticket/3069
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
bf83a0faacf16196ab9bd37dcf6190b4209ccaf7 |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
DP: Add org.freedesktop.sssd.DataProvider.Failover
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
586fa3571753ab4a607d40fc31503fc0e8effd70 |
|
27-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
DP: Add org.freedesktop.sssd.DataProvider.Backend
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> |
d3dee2a07f1a8ee9ae6f94e149ced754ef76c248 |
|
20-Jun-2016 |
Pavel Březina <pbrezina@redhat.com> |
DP: Introduce new interface for backend
Terminology:
* Backend: Implemenation of domain
* Data Provider: interface between backend and responders
* Module: ldap/ipa/ad/... dlopened library that implements dp interface
* Target: id/autofs/sudo/... functionality of module
Benefits over current code:
* data provider is a black box completely separated from backend
* method handlers are just simple tevent requests on backend side
* no need of spy on be_client
* simplified and error proof adding of new responders
* simplified adding of new methods
* reply to D-Bus message is completely handled by DP code
* each target can have several methods defined
* properties can be added on objects
* each method can have output parameters
* modules now support constructor
* improved debugging
* clear memory hierarchy
* ability to chain requests
* type safe private data
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |