Ok, I figured it out. You can't link a systemAuxilaryClass unless its done at class creation time. This will work though. It took me a bit it figure this out since I've never done a modify with an add before.
dn: CN=MyClass1,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemamodify
add: AuxiliaryClass
AuxiliaryClass: MyClass2
-Brandon
_____________________________________________
From: Bernier, Brandon (.)
Sent: Thursday, May 18, 2006 10:54 AM
To: '[email protected]'
Subject: Linking an auxiliary class to a structural class
I've got a billion ADAM instances and I want to add an auxiliary class to a structural one, both class already exist. This is cake in the ADAM Schema MMC or via ADSI, but I'm going for LDF format. Can someone tell me where I fudged up? Thanks!
dn: CN=Test1,CN=Schema,CN=Configuration,DC=X
changetype: add
add: systemAuxiliaryClass
systemAuxiliaryClass: Test2
-
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
If an attribute (in this case systemAuxiliaryClass) is multivalued, when adding another value via LDF is that considered an add or a modify? I figured add.
-Brandon
