[lsc-users] Populating AD from openldap

Julien TEHERY julien.tehery at openevents.fr
Tue Jan 30 14:44:50 CET 2018


Problem solved installing openjdk-8-jdk instead of oracle java 1.9.

Le 30/01/2018 à 14:32, Julien TEHERY a écrit :
> Hi,
>
> Trying to import users from an openldap to populate a fresh new samba4 
> server with LSC, I encountered a java error during the dry run of lsc.
>
> Here are the Details
>
>
> Source Machine:
>
> - Debian 8.9 with slapd 2.4.40 (classic openldap structure)
>
>
> Destination Machine
>
> - Debian 9.3 with Samba 4.5.12 acting as a 2008 R2 Server (function 
> level)
>
>   - LSC 2.1.4-1 with Oracle Java runtime 1.9.0.4
>
>
> I set up the whole lsc.xml config file in oder to map attributes from 
> openldap to the samba4 AD.
>
> When I launch dry run with :
>
> /usr/bin/lsc -f /etc/lsc/openldap2ad -s all -c all -n
>
>
> I get the following JAVA error :
>
>
>
> Error: java.util.MissingResourceException: Can't find bundle for base 
> name javax.xml.bind.Messages, locale fr_FR
> java.util.MissingResourceException: Can't find bundle for base name 
> javax.xml.bind.Messages, locale fr_FR
>     at 
> java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2045)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1679)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1583)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1546)
>     at 
> java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:838)
>     at javax.xml.bind.Messages.format(Messages.java:36)
>     at javax.xml.bind.Messages.format(Messages.java:21)
>     at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:151)
>     at javax.xml.bind.ContextFinder.find(ContextFinder.java:299)
>     at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
>     at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
>     at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)
>     at 
> org.lsc.configuration.JaxbXmlConfigurationHelper.<init>(JaxbXmlConfigurationHelper.java:105)
>     at org.lsc.Configuration.setUp(Configuration.java:482)
>     at org.lsc.Configuration.setUp(Configuration.java:456)
>     at org.lsc.Launcher.run(Launcher.java:205)
>     at org.lsc.Launcher.launch(Launcher.java:158)
>     at org.lsc.Launcher.main(Launcher.java:141)
> Caused by: java.lang.ClassCastException: javax.xml.bind.Messages 
> cannot be cast to ResourceBundle
>     at 
> java.base/java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:3184)
>     at 
> java.base/java.util.ResourceBundle.loadBundle(ResourceBundle.java:1984)
>     at 
> java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1766)
>     at 
> java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1718)
>     at 
> java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1718)
>     at 
> java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1652)
>     ... 16 more
>
> I also tried to launhc it with the original lsc.xml file and had the 
> same error.
>
> Do you have any idea about the source problem?
>
>
> Thanks for your help.
>




More information about the lsc-users mailing list