- Script for adding possible superior classes
- Posted by Johan on November 19th, 2003
I have defined some new objectClasses in my schema which practically uses standard classes. I have a script that creates these classes and also defines the "possible superior classes".
Now I need to modify the constraints on a few of the standard classes, e.g. container, so I can have my own new class as a "possible superior class" to e.g. the container. Now - how does that script look like ? I guess I need a script to modify the classdefinition. I can do the same procedure in the schmmgmt without problems.
This is for the ADAM so I don't see any problems of sideeffects by relaxing the original schema in ADAM.
TIA
Johan
- Posted by Dmitri Gavrilov [MSFT] on November 19th, 2003
You basically need to update possSuperiors attributes on those classes.
Sorry, can't provide an ADSI script for you. But you could also do this with
ldifde:
dn: CN=Container,CN=Schema,CN=Configuration,DC=X
changetype: modify
add: possSuperiors
possSuperiors: yourClassNameHere
possSuperiors: yourOtherClassNameHere
-
--
Dmitri Gavrilov
SDE, Active Directory Core
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Johan" <anonymous@discussions.microsoft.com> wrote in message
news:2C2EBF63-3A40-4A55-A57E-A79AE35C636D@microsoft.com...
defines the "possible superior classes".
class" to e.g. the container. Now - how does that script look like ? I
guess I need a script to modify the classdefinition. I can do the same
procedure in the schmmgmt without problems.
- Adding external classes (Programming) by Lilith
- Adding additional coding to create fldr if not there in this VB script? (Computers & Technology) by fitwell
- Link between setup classes and interface classes. (Drivers) by Guillaume
- IE Script Error when adding New Contact from new Account (Windows CRM) by Benjamin Zachary
- Base classes in.exe, derived classes in .dll (Development Resources) by Colin Goudie

