Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-452

Manual add of new schema objectclass in 99-user.ldif are not replicated

    XMLWordPrintable

    Details

    • Support Ticket IDs:
    • Sprint:
      Sprint 39

      Description

      In OpenDJ 2.5.0 it looks like manually adding schema objects are not replicated.

      How to reproduce,install and setup 2 servers (M1 and M2) and enable/initialize replication between them.
      Stop M1 and edit 99-user.ldif by adding a new objectclass for example:

      cat m1/config/schema/99-user.ldif
      dn: cn=schema
      objectClass: subschema
      objectClass: ldapSubentry
      objectClass: top
      cn: schema
      ds-sync-generation-id: 8408
      objectClasses: ( newtestobjectclass-oid NAME 'newtestobjectclass-0' SUP person MUST ( street $ c ) X-ORIGIN 'user defined' )

      Start M1

      Afterwards check 99-user.ldif on M2

      cat m1/config/schema/99-user.ldif

      dn: cn=schema
      objectClass: top
      objectClass: ldapSubentry
      objectClass: subschema
      cn: schema
      objectClasses: ( newtestobjectclass-oid NAME 'newtestobjectclass-0' SUP person MUST ( street $ c ) X-ORIGIN 'user defined' )
      ds-sync-generation-id: 8408
      ds-sync-state: 000001360d3b30ec2ee000000001

      cat m2/config/schema/99-user.ldif
      dn: cn=schema
      objectClass: top
      objectClass: ldapSubentry
      objectClass: subschema
      cn: schema
      ds-sync-generation-id: 8408
      ds-sync-state: 000001360d3b30ec2ee000000001

      Would expect to see the new objectclass in 99-user.ldif.

      This works OK in OpenDJ 2.4.5.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cjr Chris Ridd
                Reporter:
                gary.williams Gary Williams
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: