LDAP

Last modified by Thomas Mortagne on 2026/02/26 15:52

Description

Various tools to manipulate LDAP servers in XWiki.

License: GNU Lesser General Public License 2.1
Sources: https://github.com/xwiki-contrib/ldap/
Issues: https://jira.xwiki.org/browse/LDAP

The modules

Versions

This is the release note of the whole LDAP project. All release notes

9.16.1

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.

9.16.0

9.15.7

9.15.6

9.15.5

The following translations have been updated with this release:

9.15.4

The following translations have been updated with this release:

9.15.3

The following translations have been updated with this release:

9.15.2

9.15.1

9.15.0

9.14.0

9.13.1

The following translations have been updated with this release:

9.13.0

9.12.0

9.11.3

The following translations have been updated with this release:

9.11.2

The following translations have been updated with this release:

9.11.1

More debug log.

9.11.0

9.10.1

9.10

9.9.1

9.9.0

9.8.0

...

8.3.x

Convert to contrib extension.

New class for the authenticator:

xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl

And in general all classes are similar but have been moved to the new org.xwiki.contrib.ldap package. Old classes still exist in the Legacy Authenticator.

Get Connected