// The schema partition
SchemaPartition schemaPartition = new SchemaPartition( schemaManager );
schemaPartition.setWrappedPartition( schemaLdifPartition );
directoryService.setSchemaPartition( schemaPartition );
directoryService.addPartition( configPartition );
// Store the default directories
directoryService.setInstanceLayout( instanceLayout );
directoryService.setCacheService( cacheService );