summaryrefslogtreecommitdiff
path: root/source/dsdb/schema/schema_description.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/dsdb/schema/schema_description.c')
-rw-r--r--source/dsdb/schema/schema_description.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dsdb/schema/schema_description.c b/source/dsdb/schema/schema_description.c
index d780fcf34f8..a40de37f8e3 100644
--- a/source/dsdb/schema/schema_description.c
+++ b/source/dsdb/schema/schema_description.c
@@ -182,7 +182,7 @@ char *schema_class_description(TALLOC_CTX *mem_ctx,
IF_NULL_FAIL_RET(schema_entry);
}
- if (subClassOf && strcasecmp(subClassOf, name) == 0) {
+ if (subClassOf && strcasecmp(subClassOf, name) != 0) {
schema_entry = talloc_asprintf_append(schema_entry,
"SUP %s%s", subClassOf, seperator);
IF_NULL_FAIL_RET(schema_entry);