diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-08-26 10:54:09 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-08-26 16:54:12 -0400 |
commit | 4fe4e066b040f1da5805785533eb80cd83caf987 (patch) | |
tree | 3cdb015f78a6eec6ecab9bd87a158c687a8507ef /src/providers/ipa | |
parent | db9f11c10731565292ad7e864e984da6ad89453c (diff) | |
download | sssd-4fe4e066b040f1da5805785533eb80cd83caf987.tar.gz sssd-4fe4e066b040f1da5805785533eb80cd83caf987.tar.xz sssd-4fe4e066b040f1da5805785533eb80cd83caf987.zip |
Add LDAP provider option to set LDAP_OPT_X_SASL_NOCANON
https://fedorahosted.org/sssd/ticket/978
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_common.c | 3 | ||||
-rw-r--r-- | src/providers/ipa/ipa_common.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_common.c b/src/providers/ipa/ipa_common.c index a370a43be..084400f22 100644 --- a/src/providers/ipa/ipa_common.c +++ b/src/providers/ipa/ipa_common.c @@ -94,7 +94,8 @@ struct dp_option ipa_def_ldap_opts[] = { * manpages or SSSDConfig API */ { "ldap_auth_disable_tls_never_use_in_production", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE }, - { "ldap_page_size", DP_OPT_NUMBER, { .number = 1000 }, NULL_NUMBER } + { "ldap_page_size", DP_OPT_NUMBER, { .number = 1000 }, NULL_NUMBER }, + { "ldap_sasl_canonicalize", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE } }; struct sdap_attr_map ipa_attr_map[] = { diff --git a/src/providers/ipa/ipa_common.h b/src/providers/ipa/ipa_common.h index f6e1d4e5b..7a36a709c 100644 --- a/src/providers/ipa/ipa_common.h +++ b/src/providers/ipa/ipa_common.h @@ -35,7 +35,7 @@ struct ipa_service { /* the following defines are used to keep track of the options in the ldap * module, so that if they change and ipa is not updated correspondingly * this will trigger a runtime abort error */ -#define IPA_OPTS_BASIC_TEST 49 +#define IPA_OPTS_BASIC_TEST 50 /* the following define is used to keep track of the options in the krb5 * module, so that if they change and ipa is not updated correspondingly |