aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index 403f417a..8c2439e7 100644
--- a/conf.c
+++ b/conf.c
@@ -244,7 +244,8 @@ static int conf_loadini(conf_t *conf, char *file)
} else if (g_strcasecmp(ini->key, "authbackend") == 0) {
if (g_strcasecmp(ini->value, "storage") == 0) {
conf->auth_backend = NULL;
- } else if (g_strcasecmp(ini->value, "pam") == 0) {
+ } else if (g_strcasecmp(ini->value, "pam") == 0 ||
+ g_strcasecmp(ini->value, "ldap") == 0) {
g_free(conf->auth_backend);
conf->auth_backend = g_strdup(ini->value);
} else {