final SchemaLdifExtractor extractor = new JarSchemaLdifExtractor(new File(workingDirectory), found);
extractor.extractOrCopy(true);
schemaPartition.setWrappedPartition(ldifPartition);
final SchemaLoader loader = new LdifSchemaLoader(schemaRepository);
final SchemaManager schemaManager = new DefaultSchemaManager(loader);
service.setSchemaManager(schemaManager);
// Enable nis so that posixAccount and posixGroup are available
schemaManager.enable("nis");