summaryrefslogtreecommitdiffstats
path: root/src/providers/ad
diff options
context:
space:
mode:
authorYassir Elley <yelley@redhat.com>2014-09-05 18:45:12 -0400
committerJakub Hrozek <jhrozek@redhat.com>2014-09-08 17:39:53 +0200
commitf2b40ec8a4158fec75873828e4980965abbe7f66 (patch)
tree623c1a1ca917fc94a284fe9c25b0d75e222d40a1 /src/providers/ad
parent97216f0129366ac4850f62dac104b8d280ba517a (diff)
downloadsssd-f2b40ec8a4158fec75873828e4980965abbe7f66.tar.gz
sssd-f2b40ec8a4158fec75873828e4980965abbe7f66.tar.xz
sssd-f2b40ec8a4158fec75873828e4980965abbe7f66.zip
AD-GPO: config changes for gpo_map_* options
Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/providers/ad')
-rw-r--r--src/providers/ad/ad_common.h9
-rw-r--r--src/providers/ad/ad_opts.h8
2 files changed, 17 insertions, 0 deletions
diff --git a/src/providers/ad/ad_common.h b/src/providers/ad/ad_common.h
index c3dc6c1a7..df8dcffea 100644
--- a/src/providers/ad/ad_common.h
+++ b/src/providers/ad/ad_common.h
@@ -52,6 +52,14 @@ enum ad_basic_opt {
AD_ENABLE_GC,
AD_GPO_ACCESS_CONTROL,
AD_GPO_CACHE_TIMEOUT,
+ AD_GPO_MAP_INTERACTIVE,
+ AD_GPO_MAP_REMOTE_INTERACTIVE,
+ AD_GPO_MAP_NETWORK,
+ AD_GPO_MAP_BATCH,
+ AD_GPO_MAP_SERVICE,
+ AD_GPO_MAP_PERMIT,
+ AD_GPO_MAP_DENY,
+ AD_GPO_DEFAULT_RIGHT,
AD_OPTS_BASIC /* opts counter */
};
@@ -141,4 +149,5 @@ int ad_sudo_init(struct be_ctx *be_ctx,
struct ad_id_ctx *id_ctx,
struct bet_ops **ops,
void **pvt_data);
+
#endif /* AD_COMMON_H_ */
diff --git a/src/providers/ad/ad_opts.h b/src/providers/ad/ad_opts.h
index a82f7a9e0..1429b990e 100644
--- a/src/providers/ad/ad_opts.h
+++ b/src/providers/ad/ad_opts.h
@@ -40,6 +40,14 @@ struct dp_option ad_basic_opts[] = {
{ "ad_enable_gc", DP_OPT_BOOL, BOOL_TRUE, BOOL_TRUE },
{ "ad_gpo_access_control", DP_OPT_STRING, { "permissive" }, NULL_STRING },
{ "ad_gpo_cache_timeout", DP_OPT_NUMBER, { .number = 5 }, NULL_NUMBER },
+ { "ad_gpo_map_interactive", DP_OPT_STRING, NULL_STRING, NULL_STRING },
+ { "ad_gpo_map_remote_interactive", DP_OPT_STRING, NULL_STRING, NULL_STRING },
+ { "ad_gpo_map_network", DP_OPT_STRING, NULL_STRING, NULL_STRING },
+ { "ad_gpo_map_batch", DP_OPT_STRING, NULL_STRING, NULL_STRING },
+ { "ad_gpo_map_service", DP_OPT_STRING, NULL_STRING, NULL_STRING },
+ { "ad_gpo_map_permit", DP_OPT_STRING, NULL_STRING, NULL_STRING },
+ { "ad_gpo_map_deny", DP_OPT_STRING, NULL_STRING, NULL_STRING },
+ { "ad_gpo_default_right", DP_OPT_STRING, NULL_STRING, NULL_STRING },
DP_OPTION_TERMINATOR
};