Schema extension error

B

Bert Roos

Hi,

I'm trying to extend the ADS schema with additional classes and attributes.
While adding the classes, I encounter problems with two categories of
classes:
- Classes that are sub-classes classes that are just added before.
- Classes that have themselves as possible superiors.
After the creation of each class that's a possible superior of another class
or a base-class of another class, I request ADS to refresh the schema by
setting the schemaUpdateNow property on the root DSE.

Nevertheless, I get the error 'The Active Directory property cannot be found
in the cache' when (right after creation of the class) setting the
possSuperiors attribute to contain that same class.

Similarly, I get the error 'The specified directory service attribute or
value does not exist' when creating a class that's a sub-class of a class
just created before.

I can get past both issues by running the program again, changing the order
of the attribute values, making manual updates in the schema MMC snap-in,
etc. but every time I test against a fresh ADS installation, I'm hitting
these problems.

Any help would be greatly appreciated!
 
B

Bert Roos

I've found this one. I was giving the class names for the possSuperiors and
subClassOf properties instead of the OIDs. This is OK in most cases but not
in my one...

Regards, Bert
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top