ipa_opts.c revision 3cf7fdfcaedb986f42a6640e26aa057007b64045
/*
SSSD
Authors:
Stephen Gallagher <sgallagh@redhat.com>
Copyright (C) 2012 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 "src/providers/data_provider.h"
#include "db/sysdb_sudo.h"
#include "db/sysdb_autofs.h"
#include "db/sysdb_services.h"
#include "db/sysdb_selinux.h"
#include "providers/ldap/ldap_common.h"
struct dp_option ipa_basic_opts[] = {
};
struct dp_option ipa_dyndns_opts[] = {
};
struct dp_option ipa_def_ldap_opts[] = {
{ "ldap_sudo_smart_refresh_interval", DP_OPT_NUMBER, { .number = 900 }, NULL_NUMBER }, /* 15 mins */
/* use the same parm name as the krb5 module so we set it only once */
/* Do not include ldap_auth_disable_tls_never_use_in_production in the
* manpages or SSSDConfig API
*/
};
struct sdap_attr_map ipa_attr_map[] = {
};
struct sdap_attr_map ipa_user_map[] = {
{ "ldap_user_nds_login_expiration_time", "loginExpirationTime", SYSDB_NDS_LOGIN_EXPIRATION_TIME, NULL },
{ "ldap_user_nds_login_allowed_time_map", "loginAllowedTimeMap", SYSDB_NDS_LOGIN_ALLOWED_TIME_MAP, NULL },
};
struct sdap_attr_map ipa_group_map[] = {
};
struct sdap_attr_map ipa_netgroup_map[] = {
};
struct sdap_attr_map ipa_host_map[] = {
};
struct sdap_attr_map ipa_hostgroup_map[] = {
};
struct sdap_attr_map ipa_selinux_user_map[] = {
};
struct sdap_attr_map ipa_view_map[] = {
};
struct sdap_attr_map ipa_override_map[] = {
};
struct dp_option ipa_def_krb5_opts[] = {
};
struct sdap_attr_map ipa_service_map[] = {
};
struct sdap_attr_map ipa_autofs_mobject_map[] = {
};
struct sdap_attr_map ipa_autofs_entry_map[] = {
};
struct sdap_attr_map ipa_sudorule_map[] = {
{ "ipa_sudorule_runasusercategory", "ipaSudoRunAsUserCategory", SYSDB_IPA_SUDORULE_RUNASUSERCATEGORY, NULL },
{ "ipa_sudorule_runasgroupcategory", "ipaSudoRunAsGroupCategory", SYSDB_IPA_SUDORULE_RUNASGROUPCATEGORY, NULL },
{ "ipa_sudorule_runasextusergroup", "ipaSudoRunAsExtUserGroup", SYSDB_IPA_SUDORULE_RUNASEXTUSERGROUP, NULL },
};
struct sdap_attr_map ipa_sudocmdgroup_map[] = {
};
struct sdap_attr_map ipa_sudocmd_map[] = {
};