diff options
author | Pavel Reichl <preichl@redhat.com> | 2015-01-07 09:40:45 +0000 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-01-26 23:29:17 +0100 |
commit | b22e0da9e644f5eb84ee0c8986979fec3fe7eb56 (patch) | |
tree | a905720ef4a1ced0dafa367fba21db3905953a25 /src/providers/ad | |
parent | fc2146c108e28d50bbf691925cedf9592142dd14 (diff) | |
download | sssd-b22e0da9e644f5eb84ee0c8986979fec3fe7eb56.tar.gz sssd-b22e0da9e644f5eb84ee0c8986979fec3fe7eb56.tar.xz sssd-b22e0da9e644f5eb84ee0c8986979fec3fe7eb56.zip |
AD: add new option ad_site
This option overrides a result of the automatic site discovery.
Resolves:
https://fedorahosted.org/sssd/ticket/2486
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/providers/ad')
-rw-r--r-- | src/providers/ad/ad_common.h | 1 | ||||
-rw-r--r-- | src/providers/ad/ad_opts.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ad/ad_common.h b/src/providers/ad/ad_common.h index b39ade40c..dcd70bf94 100644 --- a/src/providers/ad/ad_common.h +++ b/src/providers/ad/ad_common.h @@ -60,6 +60,7 @@ enum ad_basic_opt { AD_GPO_MAP_PERMIT, AD_GPO_MAP_DENY, AD_GPO_DEFAULT_RIGHT, + AD_SITE, AD_KRB5_CONFD_PATH, AD_OPTS_BASIC /* opts counter */ diff --git a/src/providers/ad/ad_opts.h b/src/providers/ad/ad_opts.h index d9405e502..f4c1c523b 100644 --- a/src/providers/ad/ad_opts.h +++ b/src/providers/ad/ad_opts.h @@ -48,6 +48,7 @@ struct dp_option ad_basic_opts[] = { { "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 }, + { "ad_site", DP_OPT_STRING, NULL_STRING, NULL_STRING }, { "krb5_confd_path", DP_OPT_STRING, { KRB5_MAPPING_DIR }, NULL_STRING }, DP_OPTION_TERMINATOR }; |