6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen IPA Provider Initialization functions
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen Simo Sorce <ssorce@redhat.com>
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen Copyright (C) 2009 Red Hat
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen This program is free software; you can redistribute it and/or modify
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen it under the terms of the GNU General Public License as published by
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen the Free Software Foundation; either version 3 of the License, or
fc0b7b7df3888ffd6292050d066919dd31e9c0ccTimo Sirainen (at your option) any later version.
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8Timo Sirainen This program is distributed in the hope that it will be useful,
along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <unistd.h>
#include <fcntl.h>
#include "util/child_common.h"
#include "providers/ipa/ipa_common.h"
#include "providers/krb5/krb5_auth.h"
#include "providers/krb5/krb5_init_shared.h"
#include "providers/ipa/ipa_auth.h"
#include "providers/ipa/ipa_access.h"
#include "providers/ipa/ipa_dyndns.h"
#include "providers/ipa/ipa_selinux.h"
#include "providers/ldap/sdap_access.h"
#include "providers/ldap/sdap_idmap.h"
#include "providers/ipa/ipa_subdomains.h"
#include "providers/be_dyndns.h"
#include "providers/ipa/ipa_session.h"
return NULL;
if (!tmp_ctx) {
goto done;
for (int i = 0; list[i]; i++) {
if (has_srv == true) {
done:
return has_srv;
return ret;
return ret;
return EOK;
goto done;
goto done;
goto done;
done:
return ret;
return ret;
if (!enabled) {
return EOK;
return EOK;
return EOK;
return ENOMEM;
return ret;
return ret;
return EOK;
NULL);
return EOK;
return ret;
if (sites_enabled) {
return ENOMEM;
return ret;
return EOK;
return ENOMEM;
return ret;
return EOK;
return ENOMEM;
return ret;
return EOK;
return ENOMEM;
return EINVAL;
return EOK;
return ENOMEM;
if (fd < 0) {
goto done;
done:
return ret;
static struct sdap_ext_member_ctx *
return NULL;
return ext_ctx;
return ret;
goto done;
goto done;
goto done;
goto done;
done:
return ret;
IPA_HOSTNAME))) {
return ret;
return ret;
return ret;
return ret;
return ret;
return ret;
return ret;
return ENOMEM;
return ret;
return EOK;
const char *module_name,
void **_module_data)
return ENOMEM;
goto done;
goto done;
goto done;
goto done;
done:
return ret;
void *module_data,
return EOK;
void *module_data,
return EOK;
void *module_data,
void *module_data,
return ENOMEM;
goto done;
goto done;
struct ipa_access_ctx, void, void *);
done:
return ret;
void *module_data,
#if defined HAVE_SELINUX
return ENOMEM;
return EOK;
return EOK;
void *module_data,
#ifdef BUILD_SSH
return EOK;
void *module_data,
#ifdef BUILD_AUTOFS
return EOK;
void *module_data,
void *module_data,
#ifdef BUILD_SUDO
return EOK;
void *module_data,
return ENOMEM;
goto done;
done:
return ret;