LDAP - Parent POM 9.16.1
Various tools to manipulate LDAP servers in XWiki
| Type | Project |
| Developed by | Denis Gervalle, Thomas Mortagne, Alex Cotiuga, XWiki Development Team |
| License | GNU Lesser General Public License 2.1 |
Table of contents
Release Notes
This is a bugfix release that especially fixes an important issue with the Remove old users no longer in LDAP part of this extension.
Unfortunately to really fix the issue LDAP-159 some manual intervention might be needed.
If you use the Remove old users no longer in LDAP extension, then after the update please look up the Scheduler Job "Remove profile data for users no longer in LDAP" (accessible via the "Scheduler" Application start page, or under .../view/Scheduler/LDAP/OldUserCleanupJob).
When you scroll down on that page, you should see as the last field on the page the "Job Script" with a code field. This code field should contain the following contents after the update:
def oldUserCleanup = xwiki.parseGroovyFromPage('Scheduler.LDAP.OldUserCleanupJobCode')
oldUserCleanup.cleanup(xcontext)If this is not the case, please edit the page (disregarding a possible warning that the page belongs to the "LDAP user cleanup" extension and might not work anymore afterwards), and scroll down to the "Job Script" input field and replace the code there with the two lines listed above. (Alternatively you can also rollback to the version coming from the extension via the "History" tab, but then you have to reenter all customization you have done to the configuration.)
After the upgrade go to the "Scheduler" start page, unschedule the "Remove profile data for users no longer in LDAP" job and schedule it again to make the changes in the "Job Script" field effective.
Sorry for the inconvenience.