Issue 9 in openssh-lpk: Sun schema has a syntax issue

46 views
Skip to first unread message

codesite...@google.com

unread,
Jan 27, 2011, 3:28:42 PM1/27/11
to opens...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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.

codesite...@google.com

unread,
Jan 27, 2011, 3:32:46 PM1/27/11
to opens...@googlegroups.com

Comment #1 on issue 9 by da...@davidstrauss.net: Sun schema has a syntax
issue
http://code.google.com/p/openssh-lpk/issues/detail?id=9

It would also be good to drop all totally blank lines out of the Sun
schema. Blank lines also don't work with OpenDJ.

codesite...@google.com

unread,
Feb 17, 2013, 2:35:23 AM2/17/13
to opens...@googlegroups.com

Comment #2 on issue 9 by psarm...@gmail.com: Sun schema has a syntax issue
http://code.google.com/p/openssh-lpk/issues/detail?id=9

Here's a version that works with OpenDJ (and thus likely Sun and OpenDS too)

Attachments:
openssh-lpk_sun.schema 663 bytes

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages