Re: Active Directory Extension

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Lee,

Thanks, it works, since I used domainDNS as suggested. Do you have any link
that explains what 'possSuperiors' to add for a new structural, auxiliary and
abstract class ? Thanks.

"Lee Flight" wrote:

> Hi
>
> inline below...
>
> "aks" <aks@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:58D63C35-452C-4AF6-AFC1-75AE379FD215@xxxxxxxxxxxxxxxx
> > Hi Lee,
> >
> > Your post was helpful, and raises some questions.
> >
> > I'm trying to create a customized structural and then use it to create
> > instances. My .ldf looks like this:
> >
> > dn: CN=MyCfg21,CN=Schema,CN=Configuration,DC=X
> > changetype: add
> > adminDisplayName: MyCfg21
> > cn: MyCfg21
> > governsID: 1.3.6.1.2.1.63.0001.1.8.5.1.51
> > lDAPDisplayName: MyCfg21
> > objectClass: classSchema
> > objectClassCategory: 1
> > subClassOf: top
> > mayContain: MyID16
>
> You will need to add possSuperiors or systemPossSuperiors to
> that definition else you will have trouble cretaing an instance anywhere
>
> http://msdn.microsoft.com/library/en-us/ad/ad/defining_a_new_class.asp
>
> >
> > dn:
> > changetype: modify
> > add: schemaUpdateNow
> > schemaUpdateNow: 1
> > -
> >
> > The above works fine. But when I create instance, i get errors -
> > "Directory
> > object not found". My .ldf is:
> >
> > dn: CN=MyCfg21Instance,DC=sandiego,DC=com
> > changetype: modify
> > replace: MyID16
> > MyID16: 30
> > -
>
> Seems like you do not have an instance of your class,
>
> dn: CN=MyCfg21Instance,DC=sandiego,DC=com
> changetype: add
> cn: MyCfg21Instance
> objectClass: Mycfg21
> myID16: 30
>
>
> should create an instance of the Mycfg21 class with cn=Mycfg21Instance
> and attribute myID16 = 30 assuming that you have domainDNS as a
> possSuperior in your class definition.
>
> Lee Flight
>
>
>
.



Relevant Pages

  • Re: Active Directory Extension
    ... > adminDisplayName: MyCfg21 ... > objectClass: classSchema ... > changetype: modify ... Lee Flight ...
    (microsoft.public.windows.server.active_directory)
  • Re: Active Directory Extension
    ... Browsing the schema will give you some idea, ... > that explains what 'possSuperiors' to add for a new structural, ... >> objectClass: Mycfg21 ... >> Lee Flight ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAMSync error: NAMING_VIOLATION
    ... changetype: modify ... possSuperiors: organizationalUnit ... add: schemaUpdateNow ...
    (microsoft.public.windows.server.active_directory)