Problem with LDAP authenticator

I can get start LDAP extension working:
This is my xwiki.cnf

-# LDAP authentication service

#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# - 0: disable
#-# - 1: enable
#-# The default is 0

#-# 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.user_search_fmt=(sAMAccountName={1})
# Define the class of the LDAP objects to consider as groups

# Define the attribute in the LDAP object that contains the group members

# Define the group mapping from LDAP to XWiki
#xwiki.authentication.ldap.group_mapping=XWiki.Confluence=CN=Confluece user,OU=_Grupas,OU=comm,DC=ad,DC=domain,DC=com

my logback.xml

  <!-- LDAP debugging -->
   <logger name="org.xwiki.contrib.ldap" level="trace"/>
   <logger name="org.xpn.xwiki.plugin.ldap" level="trace"/>
   <logger name="org.xpn.xwiki.user.impl.LDAP" level="trace"/>

when i check logs i can find referces to ldap. from what i read in forums i should see some thing like this in logs:
u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication

im running xwiki 14.10.18 on docker

Did you mean "can’t ?

Note that if you use the logback configuration file, you need to restart for it to be taken into account. It’s generally simpler to use the log UI in the administration, as indicated on LDAP Authenticator (

Those packages don’t exist (even in the very very old previous LDAP authenticator), where did you find them ?

now i set these to debugL
but still no reference to ldap in logs

Setting org.xwiki.contrib.ldap is enough, I don’t know what the others are, but they have nothing to do with the LDAP authenticator. Also the “org.xpn” looks like a mistake in whatever extension this is (it’s supposed to be either com.xpn or org.xwiki)

You sure you have XWiki log at all in the file you are looking at (i.e. is it the right file) ?

I gues I see my log attempts in docker logs:

16-Nov-2023 12:50:30.066 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [23115] milliseconds
2023-11-16 13:14:17,904 [https-openssl-nio-8443-exec-1 -] WARN  nticationFailureLoggerListener - Authentication failure with login ```

atleast i see other xwiki related processes there

Definitely looks like an XWiki log yes.

I honestly have no idea why the log produced during an authentication does not end up in that file the way you enabled DEBUG on org.xwiki.contrib.ldap. It feels like it’s not really the authenticator which is used. Do you have any other authenticator installed which might force itself as the authenticator no matter what xwiki.authentication.authclass indicates (I know the ActiveDirectory authenticator does that for example) ?

On 14.10.18 you can install the extension “AuthService Backport Application” to get an entry in the admin which shows what has been identified as the current authenticator.

yes, we had it inslattled for tryout period but then uninstalled.
How ever i see ther are som dependencies left:

One of them is actually the authenticator (you only uninstalled the application, so the UI basically) so that seems to be your problem.

thx, that was the issue