AD LDS constraint violation when extending schema RRS feed

  • Question

  • I'm trying to extend the schema of an AD LDS instance using an ldf file through ldifde. The syntax seems right but I get this error :

    Loading entries..................................
    Add error on entry starting on line 678: Constraint Violation
    The server side error is: 0x211b Modification of a constructed attribute is not
    The extended server error is:
    0000211B: AtrErr: DSID-030F0DD7, #1:
            0: 0000211B: DSID-030F0DD7, problem 1005 (CONSTRAINT_ATT_TYPE), data 0,
    Att 180006 (objectClasses)

    here is what i'm doing:

    ldifde -i -f NewSchema.ldf -s localhost:1112

    The NewSchema.ldf file:

    dn: CN=Schema,CN=Configuration,CN={0H234518-J987-P90-1121-79821TF89}
    changetype: modify
    add: objectClasses
    objectClasses: ( 1.2.842.10118.
     NAME 'My class'
     DESC 'very important'
     SUP top
     MUST ( cn )
     MAY ( description ) )

    What am I doing wrong? Thanks in advance :)

    Tuesday, February 18, 2014 9:33 AM