summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-03 15:08:00 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-03 15:49:40 +0200
commitcb143eafef1dae1e055454fa3a5e90183e6c4f5d (patch)
tree033bb2fdc8377f01d20f4278c1323c9ff3f7227e
parent70e1d816b3dea24e260673d258f859678eb732e1 (diff)
downloadsamba-cb143eafef1dae1e055454fa3a5e90183e6c4f5d.tar.gz
samba-cb143eafef1dae1e055454fa3a5e90183e6c4f5d.tar.bz2
samba-cb143eafef1dae1e055454fa3a5e90183e6c4f5d.zip
s4:schema_inferiors - Fix wrong check
-rw-r--r--source4/dsdb/schema/schema_inferiors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_inferiors.c b/source4/dsdb/schema/schema_inferiors.c
index 264e471298..3be97b6b83 100644
--- a/source4/dsdb/schema/schema_inferiors.c
+++ b/source4/dsdb/schema/schema_inferiors.c
@@ -207,7 +207,7 @@ static void schema_fill_system_possible_inferiors(struct dsdb_schema *schema, st
if (c2->objectClassCategory != 2
&& c2->objectClassCategory != 3
&& str_list_check(superiors, schema_class->lDAPDisplayName)) {
- if (schema_class->possibleInferiors == NULL) {
+ if (schema_class->systemPossibleInferiors == NULL) {
schema_class->systemPossibleInferiors = str_list_make_empty(schema_class);
}
schema_class->systemPossibleInferiors = str_list_add_const(schema_class->systemPossibleInferiors,