diff options
author | Sumit Bose <sbose@redhat.com> | 2015-04-28 20:58:15 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-05-06 11:05:23 +0200 |
commit | 00f8fcd36006bdbe6625460dc1f8c2cf71aedf84 (patch) | |
tree | ab7c6946156c16bd9743f16f89f3c07df6e05f8f /src/db | |
parent | 395219121cc05beb3592e74914a06e2b5b4ebb50 (diff) | |
download | sssd-00f8fcd36006bdbe6625460dc1f8c2cf71aedf84.tar.gz sssd-00f8fcd36006bdbe6625460dc1f8c2cf71aedf84.tar.xz sssd-00f8fcd36006bdbe6625460dc1f8c2cf71aedf84.zip |
IPA: enhance ipa_initgr_get_overrides_send()
This patch makes ipa_initgr_get_overrides_send() public and add support
to search overrides by UUID or by SID.
Related to https://fedorahosted.org/sssd/ticket/2633
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
(cherry picked from commit 145578006684481434ced78461ab8d1c3570f478)
(cherry picked from commit 58a19d50888b1a7da0ee78b49e7d3dcbebc8614d)
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb_views.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/sysdb_views.c b/src/db/sysdb_views.c index 945f16ac1..aadd6018f 100644 --- a/src/db/sysdb_views.c +++ b/src/db/sysdb_views.c @@ -739,6 +739,11 @@ errno_t sysdb_apply_default_override(struct sss_domain_info *domain, NULL }; bool override_attrs_found = false; + if (override_attrs == NULL) { + /* nothing to do */ + return EOK; + } + tmp_ctx = talloc_new(NULL); if (tmp_ctx == NULL) { DEBUG(SSSDBG_OP_FAILURE, "talloc_new failed.\n"); |