diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-09-09 16:18:27 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-09-09 16:21:22 +1000 |
commit | e7cc705efb1f1ec9161e299df992accaf7312a38 (patch) | |
tree | 28f02bdb20199271d5126fb590bf77503f90cba5 /source4/dsdb | |
parent | 2c2a79eefa1783225df100b50af84d549597469c (diff) | |
download | samba-e7cc705efb1f1ec9161e299df992accaf7312a38.tar.gz samba-e7cc705efb1f1ec9161e299df992accaf7312a38.tar.bz2 samba-e7cc705efb1f1ec9161e299df992accaf7312a38.zip |
Fix bug #5713 by correcting the generated schema.
This bug is entitled 'Schema patch breaks interoperability with
Microsoft MMC consoles.', and it does so very spectacularly.
The issue is that we would include an entry:
objectClasses: ( 2.5.6.0 NAME 'top' SUP top ABSTRACT..
The MMC Active Directory Users and Computers snap in presumably
objected to the 'loop' this would present. The fixed entry is:
objectClasses: ( 2.5.6.0 NAME 'top' ABSTRACT
Thanks to Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> for his
persistance in getting me to look at this.
Andrew Bartlett
(This used to be commit 937b466266256d26d02cf8d48e72a26272fe8627)
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/schema/schema_description.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_description.c b/source4/dsdb/schema/schema_description.c index 9d93af9260..d780fcf34f 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) { + if (subClassOf && strcasecmp(subClassOf, name) == 0) { schema_entry = talloc_asprintf_append(schema_entry, "SUP %s%s", subClassOf, seperator); IF_NULL_FAIL_RET(schema_entry); |