How to use users created on xWiki simultaneously with LDAP?

Hey again!

We have recently set up LDAP authentication in our xWiki. Before that, we used an admin account on xWiki, which we created directly in the admin panel.

Is it possible that we can use LDAP for the users and our “local” xWiki admin account at the same time?

As soon as I select “LDAP Authentication” as the authentication method in the admin panel, logging in with the xWiki admin user no longer works.

Thank you for your help.

Check the LDAP Authentificator documentation and you will see:

#-# Enable local accounts in addition to LDAP.
#-# Without this setting you will be unable to log into XWiki with local accounts.
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap.trylocal=1

Oh yes, maybe I should actually read the config and not just fly over it… Thanks :smiley: