Skip to content

Commit

Permalink
ldap: Switch ldap_id_use_start_tls default to True
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-stephenson committed Sep 28, 2023
1 parent 97e0f56 commit e2bb694
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/man/sssd-ldap.5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@
</itemizedlist>
</para>
<para>
Default: false
Default: true
</para>
</listitem>
</varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion src/providers/ad/ad_opts.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ struct dp_option ad_def_ldap_opts[] = {
{ "ldap_tls_cert", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_tls_key", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_tls_cipher_suite", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_id_use_start_tls", DP_OPT_STRING,{ "false" }, NULL_STRING },
{ "ldap_id_use_start_tls", DP_OPT_STRING,{ "true" }, NULL_STRING },
{ "ldap_id_mapping", DP_OPT_BOOL, BOOL_TRUE, BOOL_TRUE },
{ "ldap_sasl_mech", DP_OPT_STRING, { "GSS-SPNEGO" }, NULL_STRING },
{ "ldap_sasl_authid", DP_OPT_STRING, NULL_STRING, NULL_STRING },
Expand Down
2 changes: 1 addition & 1 deletion src/providers/ipa/ipa_opts.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ struct dp_option ipa_def_ldap_opts[] = {
{ "ldap_tls_cert", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_tls_key", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_tls_cipher_suite", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_id_use_start_tls", DP_OPT_STRING, { "false" }, NULL_STRING },
{ "ldap_id_use_start_tls", DP_OPT_STRING, { "true" }, NULL_STRING },
{ "ldap_id_mapping", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
{ "ldap_sasl_mech", DP_OPT_STRING, { "GSSAPI" } , NULL_STRING },
{ "ldap_sasl_authid", DP_OPT_STRING, NULL_STRING, NULL_STRING },
Expand Down
2 changes: 1 addition & 1 deletion src/providers/ldap/ldap_opts.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct dp_option default_basic_opts[] = {
{ "ldap_tls_cert", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_tls_key", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_tls_cipher_suite", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_id_use_start_tls", DP_OPT_STRING, { "false" }, NULL_STRING },
{ "ldap_id_use_start_tls", DP_OPT_STRING, { "true" }, NULL_STRING },
{ "ldap_id_mapping", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
{ "ldap_sasl_mech", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_sasl_authid", DP_OPT_STRING, NULL_STRING, NULL_STRING },
Expand Down

0 comments on commit e2bb694

Please sign in to comment.