/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2016 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <talloc.h>
#include <ldb.h>
#include "providers/data_provider.h"
#include "responder/common/cache_req/cache_req_plugin.h"
static const char *
struct cache_req_data *data,
struct sss_domain_info *domain)
{
}
static errno_t
struct sss_domain_info *domain,
struct cache_req_data *data)
{
}
static errno_t
struct cache_req_data *data)
{
}
static errno_t
struct cache_req_data *data,
struct sss_domain_info *domain,
struct ldb_result **_result)
{
}
static errno_t
struct ldb_result *result,
const char **_string,
const char **_flag)
{
return EOK;
}
/* We must search with views. */
return EOK;
}
/* If domain has views we will try to use original values instead of the
* overridden ones. This is a must for the LOCAL view since we can't look
* it up otherwise. But it is also a shortcut for non-local views where
* we will not fail over to the overridden value. */
if (id == 0) {
return EOK;
}
/* Now we have the original name and id. We don't have to search with
* views unless some error occurred. */
return EOK;
}
.name = "User by ID",
.dp_type = SSS_DP_USER,
.parse_name = false,
.bypass_cache = false,
.only_one_result = true,
.allow_missing_fqn = false,
.allow_switch_to_upn = false,
.get_next_domain_flags = 0,
.ncache_add_fn = NULL,
};
struct tevent_req *
struct tevent_context *ev,
struct sss_nc_ctx *ncache,
const char *domain,
{
return NULL;
}
}