summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-05-24 14:16:32 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-05-24 14:54:11 -0400
commit813725545245befacf3ffacc4dfa611948e7027b (patch)
treed02f56f70b15b4b9a115721e5db14973995739f7 /src/providers
parenta5c7d86090f960543b9d53c7c637cc08291f7170 (diff)
downloadsssd-813725545245befacf3ffacc4dfa611948e7027b.tar.gz
sssd-813725545245befacf3ffacc4dfa611948e7027b.tar.xz
sssd-813725545245befacf3ffacc4dfa611948e7027b.zip
Make "password" the default for ldap_default_authtok_type
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/ldap_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index 29a5820f5..4562b0e17 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -37,7 +37,7 @@ struct dp_option default_basic_opts[] = {
{ "ldap_uri", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_search_base", DP_OPT_STRING, NULL_STRING, NULL_STRING },
{ "ldap_default_bind_dn", DP_OPT_STRING, NULL_STRING, NULL_STRING },
- { "ldap_default_authtok_type", DP_OPT_STRING, NULL_STRING, NULL_STRING},
+ { "ldap_default_authtok_type", DP_OPT_STRING, { "password" }, NULL_STRING},
{ "ldap_default_authtok", DP_OPT_BLOB, NULL_BLOB, NULL_BLOB },
{ "ldap_search_timeout", DP_OPT_NUMBER, { .number = 6 }, NULL_NUMBER },
{ "ldap_network_timeout", DP_OPT_NUMBER, { .number = 6 }, NULL_NUMBER },