summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/schema/schema_inferiors.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema_inferiors.c b/source4/dsdb/schema/schema_inferiors.c
index 14699c7467..2f7d46131b 100644
--- a/source4/dsdb/schema/schema_inferiors.c
+++ b/source4/dsdb/schema/schema_inferiors.c
@@ -202,6 +202,8 @@ static void schema_fill_possible_inferiors(const struct dsdb_schema *schema,
{
struct dsdb_class *c2;
+ schema_class->possibleInferiors = NULL;
+
for (c2=schema->classes; c2; c2=c2->next) {
const char **superiors = schema_posssuperiors(schema, c2);
if (c2->systemOnly == false
@@ -223,6 +225,8 @@ static void schema_fill_system_possible_inferiors(const struct dsdb_schema *sche
{
struct dsdb_class *c2;
+ schema_class->systemPossibleInferiors = NULL;
+
for (c2=schema->classes; c2; c2=c2->next) {
const char **superiors = schema_posssuperiors(schema, c2);
if (c2->objectClassCategory != 2