diff options
author | Dennis Kaarsemaker <dennis@kaarsemaker.net> | 2016-02-23 20:14:57 +0100 |
---|---|---|
committer | Dennis Kaarsemaker <dennis@kaarsemaker.net> | 2016-03-25 19:07:53 +0100 |
commit | 50bb49039b264ac599ad1ddee2be86cfc7cb68ce (patch) | |
tree | cf8bbc7389ba680db21a68209d0298a35a7ebac2 /conf.c | |
parent | a6005da78ae1563ae4577179d1e54fff74cfe21a (diff) |
ldap authentication backend
We only support the openldap scheme for now, with users that are
posixAccounts. Moreover, as the plugin cannot be configured directly,
you must configure libldap correctly in /etc/openldap/ldap.conf
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 { |