apacheds

ApacheDS Studio: JNDI Provider for Ubuntu


When creating a new LDAP connection in Apache Directory Studio, I can use "JNDI (Java Naming and Directory Interface)" as Provider in Windows version, but not in Ubuntu version:

Windows

Ubuntu

Why is this the case? How can I add JNDI in Ubuntu?


Solution

  • You would need to install the correct Java SDK version (1.8.0) and point the Apache DS configuration to that install, then restart and it should appear. I do not know the location of the config file on Ubuntu but it should be near the binary.

    It was not appearing for me as my Apache DS was using openJDK instead (on MacOSX). Once I edited the Info.plist file to point to the desired jdk, it worked.

    The configured Java version can be verified by checking About Apache DS >> Installation Details.