Authentication: LDAP server (Sync Plus)

auth_ldap_syncplus
Maintained by Picture of Ulm UniversityUlm University, Picture of Alexander BiasAlexander Bias, Picture of Kathrin OsswaldKathrin Osswald
Moodle authentication plugin which provides all functionality of auth_ldap, but supports advanced features for the LDAP synchronization task and LDAP authentication.
514 sites
383 downloads
48 fans
Current versions available: 11

Moodle core's auth_ldap authentication plugin is a great basis for authenticating users in Moodle. However, as Moodle core's auth_ldap is somehow limited in several aspects and there is no prospect to have it improved in Moodle core, we have implemented an extended version for LDAP authentication with these key features:

  • The most important part: All functions from auth_ldap are still working if you use this authentication plugin.
  • The plugin adds the possibility to the LDAP synchronization task to suspend users which have disappeared in LDAP for a configurable amount of days and delete them only after this grace period (the Moodle core LDAP synchronization task only provides you the option to suspend _or_ delete users which have disappeared in LDAP - MDL-47018).
  • You can prevent the LDAP synchronization task from creating Moodle accounts for all LDAP users if they have never logged into Moodle before (the Moodle core LDAP synchronization task always creates Moodle accounts for all LDAP users - MDL-29249).
  • You can fetch user details from LDAP on manual user creation (MDL-47029).
  • It supports login via email for first-time LDAP logins (Moodle core only supports login via email for existing Moodle users - MDL-46638)
  • It adds several line breaks to the output of the LDAP synchronization task to improve readability (MDL-30589).

Please see README file for details about the usage and features of this plugin.

No support in the comments section on this page

Please note that we don't provide any support for this plugin in the comments section on this page anymore.

We appreciate your commendation and reviews for this plugin in the comments. For bug reports and support requests, please read the extensive information in the plugin's README file first and create, if needed, a ticket in the bug tracker which is linked below.

Thanks for your cooperation.

Screenshots

Screenshot #0

Contributors

Picture of Ulm University
Ulm University (Lead maintainer)
Picture of Alexander Bias
Alexander Bias: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Alexander Bias
    Fri, May 27, 2016, 3:33 AM
    Hi Sebastian,

    well, the features which auth_ldap_syncplus adds over auth_ldap are focused at user account lifecycle management. Adding a cohort sync feature would be out of the scope of this plugin.

    With moodle_local_ldap, you mean https://github.com/patrickpollet/moodle_local_ldap ? Well, Patrick Pollet died some time ago as far as I know and that is a pretty good reason why the plugin is discontinued...

    Please have a look at https://github.com/moodleuulm/moodle-local_profilecohort. This is a plugin which we have developed for a similar purpose and are already using it in production. It just needs some more features and will then be published shortly in the Moodle plugins repo.

    Thanks,
    Alex
  • Picture of Tyler Bogdan
    Wed, Jun 29, 2016, 11:57 PM
    Will the latest version work on 3.1 or will there be a new release?
  • Picture of Alexander Bias
    Mon, Jul 4, 2016, 9:32 PM
    Hi Tyler,

    citing our Moodle release support statement from https://github.com/moodleuulm/moodle-auth_ldap_syncplus/blob/master/README.md:
    -----
    Due to limited resources, block_people is only maintained for the most recent major release of Moodle. However, previous versions of this plugin which work in legacy major releases of Moodle are still available as-is without any further updates in the Moodle plugins repository.

    There may be several weeks after a new major release of Moodle has been published until we can do a compatibility check and fix problems if necessary. If you encounter problems with a new major release of Moodle - or can confirm that auth_ldap_syncplus still works with a new major relase - please let us know on https://github.com/moodleuulm/moodle-auth_ldap_syncplus/issues
    -----

    Currently, we plan to work on 3.1 in July. But as far as I see, there are no fatal errors with the 3.0 version of this plugin on 3.1.

    Thanks,
    Alex
  • Picture of Alan Lowe
    Thu, Jul 28, 2016, 2:35 AM
    Alex, Good day, great plugin m8. We are able to authenticate with LDAP Server Sync Plus, however the scheduled task in the Moodle GUI seems to be having some form of issue as it continues to Fail/Delay. I have verified with the log files that the cron.php for moodle is running without errors, and that the rest of the tasks in the scheduler are running as intended, this is the only one that seems to be having an issue, any ideas?
    Moodle Ver. 3.1.1
    LDAP Server Sync Plus Ver. v3.1-r1 2016071900
  • Picture of Alexander Bias
    Thu, Jul 28, 2016, 1:02 PM
    Hi Alan,

    you have also written a private message to me. After your last message, I had the conclusion that the problem you decribed is done, that's why I won't answer on them. If there are any more problems, please come back to me.

    Thanks,
    Alex
  • Picture of Grzegorz Ziółek
    Tue, Nov 22, 2016, 10:02 PM
    Hello Alex,

    Quick question. Does this plugin update custom fields during ldap_sync?
  • Picture of Alexander Bias
    Tue, Nov 22, 2016, 11:21 PM
    Hi Grzegorz,

    auth_ldap_syncplus is based on auth_ldap, thus it will sync whatever auth_ldap syncs.

    In recent versions of Moodle, you can map custom profile fields to LDAP fields, this is done on /admin/auth_config.php?auth=ldap_syncplus. With this feature, you can fill custom profile fields on user creation and on login.

    Unfortunately, this does not work for the scheduled LDAP sync task. There is a ticket on https://tracker.moodle.org/browse/MDL-40613 for Moodle core which is somehow stuck and we didn't have the time to contribute resources for solving this ticket.

    Summing up:
    * Yes you can map custom profile fields
    * This is a feature of Moodle core, not of our plugin
    * You can't fully rely that the values in the custom profile fields are up to date for all users as they are only updated on login and not with the (nightly) LDAP sync task.

    Hope this helps.

    Alex
  • Picture of Paul Nijbakker
    Fri, Apr 7, 2017, 10:16 PM
    Hi,
    This is an interesting plugin. My question is: Can this plugin exist next to the standard LDAP plugin, so that a site basically has two LDAP authentication instances which authenticate users from two different active directories?
  • Picture of Alexander Bias
    Sat, Apr 8, 2017, 12:52 AM
    Hi Paul,

    I have never built a setup like this before myself, but theoretically it should work without problems.

    Thanks,
    Alex
  • Picture of Yegor Grishko
    Tue, Jul 25, 2017, 12:07 PM
    Hello, any news on when will 3.3 version available? Thank you!
  • Picture of Alexander Bias
    Thu, Jul 27, 2017, 3:26 PM
    Hi Yegor,

    we will need some more weeks until we can do 3.3 testing due to our delayed internal scheduled.

    However, up to now, we haven't received any problem reports with the 3.2 version on 3.3. Please give it a try.

    Thanks,
    Alex
  • Picture of Gabe G
    Wed, Feb 7, 2018, 5:05 AM
    Hi Alexander,

    Just wanted to report that the 3.3 plugin released earlier today (what a coincidence!) installed fine to my 3.4.1, and seemed to successfully sync/create users in Moodle from cron.

    Thank you for all your work on this!
  • Picture of Silke Kirberg
    Thu, Jan 24, 2019, 9:15 PM
    Hello Alex, does syncplus work with Moodle 3.6? We will have an update next week smile Thank you, Silke
  • Picture of Alexander Bias
    Tue, Jan 29, 2019, 3:10 PM
    Hi Silke,
    I am sorry but this plugin has not been tested for 3.6 yet by us. I have seen that there were, as usual, some changes in auth_ldap in 3.6 which most probably have to be adopted to auth_ldap_syncplus. We will tackle this work throughout the next weeks.

    So, running this plugin on 3.6 is at your own risk currently unfortunately.

    Cheers,
    Alex
  • Picture of Alexander Bias
    Tue, Jan 29, 2019, 7:15 PM
    Hi Silke,

    the 3.6 version is now tested and released.

    Cheers,
    Alex
1 2 3
Please login to post comments