summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-09-09 18:02:05 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-09-09 18:02:05 +1000
commitffc9f85bfb6fec0bd4057d6ccb6e013dd6873ced (patch)
tree5bd868afb62398bd060b2c7b4b96a82deb153692 /source4/dsdb
parente7cc705efb1f1ec9161e299df992accaf7312a38 (diff)
downloadsamba-ffc9f85bfb6fec0bd4057d6ccb6e013dd6873ced.tar.gz
samba-ffc9f85bfb6fec0bd4057d6ccb6e013dd6873ced.tar.bz2
samba-ffc9f85bfb6fec0bd4057d6ccb6e013dd6873ced.zip
Fix reversed test trying to fix bug #5713
(It instead ensured that only 'top' had a SUP keyword) This clearly shows that 937b466266256d26d02cf8d48e72a26272fe8627 was not a full or correct fix, but despite this I can no longer reproduce the issue. Further investigation is required. Andrew Bartlett (This used to be commit 95a9e9b6b84866cd300b1d19915627c6718b4dde)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/schema/schema_description.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_description.c b/source4/dsdb/schema/schema_description.c
index d780fcf34f..a40de37f8e 100644
--- a/source4/dsdb/schema/schema_description.c
+++ b/source4/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);