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!
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!