Nethserver LDAP Xwiki

anybody who succesfully connected Xwiki to the LDAP server from nethserver? I have a working example for connecting to a MS AD but this doesn’t work with de LDAP server on NethServer

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

#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
#-# The default host is localhost
xwiki.authentication.ldap.server=192.168.1.1
#-# The default port is 389 (636 if xwiki.authentication.ldap.ssl is enabled)
xwiki.authentication.ldap.port=636

#-# LDAP credentials, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the user name, {1} with the password
xwiki.authentication.ldap.bind_DN=domain\{0}
xwiki.authentication.ldap.bind_pass={1}

#-# The Base DN used in LDAP searches
xwiki.authentication.ldap.base_DN=dc=domain,dc=local

Hi @Team_ICT

Most PHP and JAVA applications require valid SSL certs (eg LetsEncrypt).
I’m using NethServer’s AD with a JAVA application which requires a valid SSL cert.
I managed to get this working by using the LE certs in the Container for AD, automatically copied over each time LE Upgrades. The AD name is an alias in the NethServer LE request.

See here:

and search for this: " The next step will make sure that java and other more strict apps can connect to the AD and use it :"

I’m running this at home - and for several of my clients. It just works!

And PHP and JAVA applications now accept the AD without issues!

Hope this helps!

My 2 cents
Andy