diff options
author | Sumit Bose <sbose@redhat.com> | 2014-09-22 18:37:44 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-16 17:56:11 +0200 |
commit | 9da27cbc7532f775afc411d809735760dd5294a7 (patch) | |
tree | 20e31189b2df933fe27cf0d871270edb7c874d10 /src/db/sysdb.h | |
parent | 8a2a503fa5c01ea037d28b7c902b8821a11084bd (diff) | |
download | sssd-9da27cbc7532f775afc411d809735760dd5294a7.tar.gz sssd-9da27cbc7532f775afc411d809735760dd5294a7.tar.xz sssd-9da27cbc7532f775afc411d809735760dd5294a7.zip |
sysdb: sysdb_apply_default_override
The default view is special in the sense that it is the baseline for
every other view and that it always applies even if there is no view
defined. To avoid useless additional processing the default view
overrides are written directly to the corresponding cached object.
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 602db2c04..6bb25de14 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -434,6 +434,10 @@ errno_t sysdb_update_view_name(struct sysdb_ctx *sysdb, const char *view_name); errno_t sysdb_get_view_name(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, char **view_name); +errno_t sysdb_apply_default_override(struct sss_domain_info *domain, + struct sysdb_attrs *override_attrs, + struct ldb_dn *obj_dn); + /* Sysdb initialization. * call this function *only* once to initialize the database and get * the sysdb ctx */ |