New issue 9 by da...@davidstrauss.net: Sun schema has a syntax issue
http://code.google.com/p/openssh-lpk/issues/detail?id=9
> What steps will reproduce the problem?
1. Download the Sun version of the schema and drop it into OpenDJ
2. See a syntax error:
[27/Jan/2011:20:11:45 +0000] 0 caught error thread={main(1)}
method={loadSchemaFile(SchemaConfigManager.java:969)}
caught={org.opends.server.types.DirectoryException: The definition for the
attribute type with OID 1.3.6.1.4.1.24552.500.1.1.1.13 declared that
equality matching should be performed using the matching
rule "octetstringmatchsyntax". No such equality matching rule is
configured for use in the Directory Server}
[27/Jan/2011:20:11:45 +0000] category=CONFIG severity=SEVERE_WARNING
msgID=3276993 msg=Unable to parse an attribute type definition from schema
configuration file 10-openssh-lpk.ldif: The definition for the attribute
type with OID 1.3.6.1.4.1.24552.500.1.1.1.13 declared that equality
matching should be performed using the matching
rule "octetstringmatchsyntax". No such equality matching rule is
configured for use in the Directory Server
[27/Jan/2011:20:11:45 +0000] 1 caught error thread={main(1)}
method={loadSchemaFile(SchemaConfigManager.java:1062)}
caught={org.opends.server.types.DirectoryException: The definition for the
objectclass with OID 1.3.6.1.4.1.24552.500.1.1.2.0 declared that it should
include optional attribute "sshpublickey". No attribute type matching this
name or OID exists in the server schema}
[27/Jan/2011:20:11:45 +0000] category=CONFIG severity=SEVERE_WARNING
msgID=3276996 msg=An objectclass read from schema configuration file
10-openssh-lpk.ldif could not be parsed: The definition for the
objectclass with OID 1.3.6.1.4.1.24552.500.1.1.2.0 declared that it should
include optional attribute "sshpublickey". No attribute type matching this
name or OID exists in the server schema
> What is the expected output? What do you see instead?
The schema should load properly.
> Please provide any additional information below.
Per the LDAP specification, this is fixable by adding a space at the end of
the "EQUALITY octetStringMatch" line.
It would also be good to drop all totally blank lines out of the Sun
schema. Blank lines also don't work with OpenDJ.