Changeset 50bb490 for conf.c


Ignore:
Timestamp:
2016-03-25T18:07:53Z (4 years ago)
Author:
Dennis Kaarsemaker <dennis@…>
Branches:
master
Children:
64b4263
Parents:
a6005da
git-author:
Dennis Kaarsemaker <dennis@…> (23-02-16 19:14:57)
git-committer:
Dennis Kaarsemaker <dennis@…> (25-03-16 18:07:53)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conf.c

    ra6005da r50bb490  
    245245                                if (g_strcasecmp(ini->value, "storage") == 0) {
    246246                                        conf->auth_backend = NULL;
    247                                 } else if (g_strcasecmp(ini->value, "pam") == 0) {
     247                                } else if (g_strcasecmp(ini->value, "pam") == 0 ||
     248                                         g_strcasecmp(ini->value, "ldap") == 0) {
    248249                                        g_free(conf->auth_backend);
    249250                                        conf->auth_backend = g_strdup(ini->value);
Note: See TracChangeset for help on using the changeset viewer.