mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

pgamba
02.58.2007 b48ce50fdf4d73e8be3799e3a7c6c2bf9d1b2965
opends/src/server/org/opends/server/backends/SchemaBackend.java
@@ -171,6 +171,10 @@
  // The attribute type that will be used to save the synchronization state.
  private AttributeType synchronizationStateType;
  // The attribute type that will be used to save the synchronization
  // generationId.
  private AttributeType synchronizationGenerationIdType;
  // The value containing DN of the user we'll say created the configuration.
  private AttributeValue creatorsName;
@@ -264,6 +268,9 @@
    nameFormsType = DirectoryServer.getAttributeType(ATTR_NAME_FORMS_LC, true);
    synchronizationStateType =
      DirectoryServer.getAttributeType(ATTR_SYNCHRONIZATION_STATE_LC, true);
    synchronizationGenerationIdType =
      DirectoryServer.getAttributeType(ATTR_SYNCHRONIZATION_GENERATIONID_LC,
          true);
    // Initialize the lastmod attributes.
@@ -912,6 +919,14 @@
    attrList.add(attr);
    operationalAttrs.put(synchronizationStateType, attrList);
    //  Add the synchronization GenerationId attribute.
    valueSet = DirectoryServer.getSchema().getSynchronizationGenerationId();
    attr = new Attribute(synchronizationGenerationIdType,
                         ATTR_SYNCHRONIZATION_GENERATIONID_LC, valueSet);
    attrList = new ArrayList<Attribute>(1);
    attrList.add(attr);
    operationalAttrs.put(synchronizationGenerationIdType, attrList);
    // Add all the user-defined attributes.
    for (Attribute a : userDefinedAttributes)
    {